Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 209.4 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6224/0.6224, allocations: 115.3 MB / 406 MB, free: 2.777 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 63.62 kB / 493 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1128, allocations: 76.19 MB / 0.5559 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.337/0.4499, allocations: 154.4 MB / 0.7067 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0201/0.47, allocations: 21.6 MB / 0.7278 GB, free: 6.711 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.4715, allocations: 51.69 kB / 0.7278 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.473, allocations: 1.13 MB / 0.7289 GB, free: 5.527 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.4743, allocations: 0.8099 MB / 0.7297 GB, free: 4.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.4753, allocations: 385.6 kB / 0.7301 GB, free: 4.344 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00131/0.4766, allocations: 1.337 MB / 0.7314 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007849/0.4774, allocations: 0.6215 MB / 0.732 GB, free: 2.387 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006646/0.4781, allocations: 0.4904 MB / 0.7325 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009778/0.4791, allocations: 0.9098 MB / 0.7334 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001142/0.4792, allocations: 36 kB / 0.7334 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.4795, allocations: 83.92 kB / 0.7335 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.4797, allocations: 300.8 kB / 0.7338 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003907/0.4801, allocations: 468.8 kB / 0.7342 GB, free: 112 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008659/0.481, allocations: 1.148 MB / 0.7353 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.481, allocations: 0 / 0.7353 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.71e-07/0.481, allocations: 0 / 0.7353 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.614e-05/0.4811, allocations: 4 kB / 0.7353 GB, free: 14.95 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002096/0.4832, allocations: 1.483 MB / 0.7368 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.4832, allocations: 8.031 kB / 0.7368 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.638e-05/0.4833, allocations: 82.72 kB / 0.7369 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/0.4835, allocations: 139.2 kB / 0.737 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007363/0.4842, allocations: 0.6512 MB / 0.7376 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001106/0.4843, allocations: 78.69 kB / 0.7377 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.4844, allocations: 44 kB / 0.7377 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008438/0.4853, allocations: 0.5145 MB / 0.7382 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4853, allocations: 4 kB / 0.7383 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.4853, allocations: 23.94 kB / 0.7383 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.4854, allocations: 8 kB / 0.7383 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.4861, allocations: 411.7 kB / 0.7387 GB, free: 11.39 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003032/0.4892, allocations: 2.739 MB / 0.7413 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008181/0.49, allocations: 443.7 kB / 0.7418 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.4905, allocations: 302.9 kB / 0.7421 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.4906, allocations: 12.58 kB / 0.7421 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004688/0.491, allocations: 279.8 kB / 0.7423 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=44): time 2.004e-06/0.4911, allocations: 0 / 0.7423 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.002322/0.4934, allocations: 1.159 MB / 0.7435 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4934, allocations: 63.39 kB / 0.7435 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.495, allocations: 1.756 MB / 0.7452 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.4951, allocations: 37.7 kB / 0.7453 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.4954, allocations: 0.5249 MB / 0.7458 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.4955, allocations: 146 kB / 0.7459 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4957, allocations: 98.25 kB / 0.746 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.547e-05/0.4958, allocations: 330 kB / 0.7463 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.4962, allocations: 213 kB / 0.7465 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.4967, allocations: 339.8 kB / 0.7469 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007737/0.4975, allocations: 0.5154 MB / 0.7474 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.4975, allocations: 3.938 kB / 0.7474 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001361/0.4988, allocations: 0.8088 MB / 0.7482 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4989, allocations: 11.94 kB / 0.7482 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4989, allocations: 8.219 kB / 0.7482 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003732/0.4993, allocations: 139 kB / 0.7483 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.4996, allocations: 99.88 kB / 0.7484 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/0.502, allocations: 2.381 MB / 0.7507 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.5025, allocations: 79.55 kB / 0.7508 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.5025, allocations: 20 kB / 0.7508 GB, free: 14.34 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 19 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000454/0.503, allocations: 387.3 kB / 0.7512 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.5031, allocations: 114.5 kB / 0.7513 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.5033, allocations: 135.7 kB / 0.7514 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.5033, allocations: 4 kB / 0.7514 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5034, allocations: 11.92 kB / 0.7515 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.5034, allocations: 4 kB / 0.7515 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.5055, allocations: 1.489 MB / 0.7529 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.5056, allocations: 0 / 0.7529 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002048/0.5058, allocations: 43.95 kB / 0.753 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003733/0.5062, allocations: 169.5 kB / 0.7531 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.5062, allocations: 19.97 kB / 0.7531 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00316/0.5094, allocations: 3.693 MB / 0.7567 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5094, allocations: 0 / 0.7567 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.5109, allocations: 0.983 MB / 0.7577 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.5112, allocations: 215.5 kB / 0.7579 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/0.5113, allocations: 11.94 kB / 0.7579 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.5116, allocations: 39.89 kB / 0.758 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.5117, allocations: 48.16 kB / 0.758 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.5118, allocations: 16 kB / 0.758 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001242/0.513, allocations: 1.293 MB / 0.7593 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.522e-06/0.513, allocations: 0 / 0.7593 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006697/0.5137, allocations: 199.6 kB / 0.7595 GB, free: 5.109 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002752/0.5165, allocations: 1.91 MB / 0.7613 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001225/0.5177, allocations: 0.6726 MB / 0.762 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5177, allocations: 4.125 kB / 0.762 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007363/0.5184, allocations: 0.5204 MB / 0.7625 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009081/0.5194, allocations: 187.8 kB / 0.7627 GB, free: 1.965 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.5309, allocations: 9.342 MB / 0.7718 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.5317, allocations: 1.149 MB / 0.7729 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002969/0.532, allocations: 96.7 kB / 0.773 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004004/0.5324, allocations: 403.3 kB / 0.7734 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of SimCode: time 4.3e-07/0.5324, allocations: 4 kB / 0.7734 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7354/1.268, allocations: 19.72 MB / 0.7927 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003806/1.268, allocations: 277.2 kB / 0.7929 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/3.441, allocations: 3.938 kB / 0.7929 GB, free: 2.727 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)