Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 101.9 kB / 16.29 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 187.4 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.012/2.012, allocations: 292.3 MB / 0.5495 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 70.83 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3318, allocations: 114.6 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002678/0.3345, allocations: 1.07 MB / 0.7851 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002015/0.3366, allocations: 1.339 MB / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.3367, allocations: 0 / 0.7864 GB, free: 1.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.3368, allocations: 19.73 kB / 0.7865 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/0.3369, allocations: 39.59 kB / 0.7865 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008345/0.3378, allocations: 273.5 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005095/0.3383, allocations: 423.2 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.3385, allocations: 73.28 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.3387, allocations: 151.6 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.339, allocations: 167.5 kB / 0.7875 GB, free: 296 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.466e-05/0.3391, allocations: 40 kB / 0.7876 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.3392, allocations: 55.92 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.3393, allocations: 59.83 kB / 0.7877 GB, free: 140 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.582/0.9213, allocations: 153.6 kB / 0.7878 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007653/0.9221, allocations: 424.6 kB / 0.7882 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.9221, allocations: 0 / 0.7882 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.156e-06/0.9221, allocations: 0 / 0.7882 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.9221, allocations: 0.7188 kB / 0.7882 GB, free: 46.35 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001157/0.9233, allocations: 0.6318 MB / 0.7889 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.9234, allocations: 8.531 kB / 0.7889 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.033e-05/0.9234, allocations: 33.59 kB / 0.7889 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.9237, allocations: 283.3 kB / 0.7892 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.9238, allocations: 18.52 kB / 0.7892 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/0.9238, allocations: 21.22 kB / 0.7892 GB, free: 45.63 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/0.9244, allocations: 246.1 kB / 0.7894 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.9244, allocations: 0.8438 kB / 0.7894 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.9245, allocations: 16.61 kB / 0.7895 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.9245, allocations: 9.312 kB / 0.7895 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00066/0.9251, allocations: 230.8 kB / 0.7897 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.9263, allocations: 0.7514 MB / 0.7904 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004755/0.9268, allocations: 209.5 kB / 0.7906 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003832/0.9272, allocations: 153.5 kB / 0.7908 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.9272, allocations: 9.562 kB / 0.7908 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005757/0.9278, allocations: 256 kB / 0.791 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=27): time 2.334e-06/0.9278, allocations: 0 / 0.791 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.001546/0.9294, allocations: 0.5455 MB / 0.7915 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.9295, allocations: 57.5 kB / 0.7916 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.9297, allocations: 220.6 kB / 0.7918 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.9298, allocations: 37.2 kB / 0.7918 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.9299, allocations: 143.2 kB / 0.792 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.93, allocations: 61.86 kB / 0.792 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.9301, allocations: 82.03 kB / 0.7921 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.9303, allocations: 338.8 kB / 0.7924 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.9308, allocations: 179.3 kB / 0.7926 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.9313, allocations: 229.6 kB / 0.7928 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007375/0.932, allocations: 388.7 kB / 0.7932 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.932, allocations: 5.781 kB / 0.7932 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001071/0.9331, allocations: 0.5339 MB / 0.7937 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.9332, allocations: 69.69 kB / 0.7938 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.9332, allocations: 5.219 kB / 0.7938 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.9332, allocations: 0 / 0.7938 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.9335, allocations: 61.53 kB / 0.7939 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.9335, allocations: 2.625 kB / 0.7939 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.9339, allocations: 87.14 kB / 0.7939 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.934, allocations: 16.59 kB / 0.794 GB, free: 44.17 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.9341, allocations: 162.7 kB / 0.7941 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.9342, allocations: 28.48 kB / 0.7941 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.854e-05/0.9342, allocations: 29.89 kB / 0.7942 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.9343, allocations: 5.062 kB / 0.7942 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.9343, allocations: 0 / 0.7942 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.9343, allocations: 0 / 0.7942 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.9354, allocations: 0.7983 MB / 0.795 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.9354, allocations: 0 / 0.795 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.9356, allocations: 38.98 kB / 0.795 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.9357, allocations: 3.438 kB / 0.795 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.9357, allocations: 6.25 kB / 0.795 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.9357, allocations: 0 / 0.795 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9357, allocations: 3.141 kB / 0.795 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008238/0.9365, allocations: 0.4988 MB / 0.7955 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.9366, allocations: 103.2 kB / 0.7956 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.9366, allocations: 2.766 kB / 0.7956 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.9368, allocations: 33.66 kB / 0.7956 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.141e-05/0.9369, allocations: 23.67 kB / 0.7957 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.937, allocations: 17.05 kB / 0.7957 GB, free: 43.46 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001266/0.9371, allocations: 155 kB / 0.7958 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.854e-06/0.9371, allocations: 0 / 0.7958 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003469/0.9375, allocations: 73.84 kB / 0.7959 GB, free: 43.38 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001994/0.9377, allocations: 127.7 kB / 0.796 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001081/0.9388, allocations: 0.524 MB / 0.7965 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.9388, allocations: 0 / 0.7965 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004846/0.9393, allocations: 186 kB / 0.7967 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.9397, allocations: 42.19 kB / 0.7967 GB, free: 43.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008923/0.9406, allocations: 492.2 kB / 0.7972 GB, free: 42.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.9409, allocations: 0.7552 MB / 0.7979 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001417/0.941, allocations: 39.02 kB / 0.798 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.152e-05/0.9411, allocations: 20.14 kB / 0.798 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.9411, allocations: 1.125 kB / 0.798 GB, free: 42.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.01179/0.9529, allocations: 4.206 MB / 0.8021 GB, free: 42.06 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)