Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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: "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.001141/0.001141, allocations: 109.4 kB / 15.69 MB, free: 128 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.001105/0.001105, allocations: 189.5 kB / 16.62 MB, free: 6.613 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.362/1.362, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.654/1.654, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001653/0.001653, allocations: 66.16 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2082, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5917/0.7999, allocations: 156.7 MB / 0.9367 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02489/0.8249, allocations: 21.55 MB / 0.9577 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.8273, allocations: 51.27 kB / 0.9578 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.8289, allocations: 1.162 MB / 0.9589 GB, free: 4.523 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001414/0.8303, allocations: 0.8586 MB / 0.9597 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.8314, allocations: 406.1 kB / 0.9601 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.8327, allocations: 1.249 MB / 0.9614 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007968/0.8335, allocations: 0.6864 MB / 0.962 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007575/0.8342, allocations: 0.5467 MB / 0.9626 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.8353, allocations: 0.9146 MB / 0.9635 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.8354, allocations: 64.78 kB / 0.9635 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003144/0.8358, allocations: 111.4 kB / 0.9636 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.836, allocations: 316.5 kB / 0.9639 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.8364, allocations: 488.9 kB / 0.9644 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.8375, allocations: 1.199 MB / 0.9656 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.8375, allocations: 1.375 kB / 0.9656 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8375, allocations: 0 / 0.9656 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.8375, allocations: 0 / 0.9656 GB, free: 3.82 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.00214/0.8397, allocations: 1.471 MB / 0.967 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.8397, allocations: 10.03 kB / 0.967 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.76e-05/0.8398, allocations: 82.31 kB / 0.9671 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.84, allocations: 132.7 kB / 0.9672 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.8407, allocations: 0.6705 MB / 0.9679 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.8408, allocations: 71.16 kB / 0.9679 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.767e-05/0.8409, allocations: 49.88 kB / 0.968 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000849/0.8418, allocations: 0.5114 MB / 0.9685 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.8418, allocations: 5.375 kB / 0.9685 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/0.8418, allocations: 20.23 kB / 0.9685 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.8419, allocations: 9.625 kB / 0.9685 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007468/0.8426, allocations: 412.9 kB / 0.9689 GB, free: 18.31 MB / 0.7325 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.003119/0.8457, allocations: 2.777 MB / 0.9716 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009334/0.8467, allocations: 464.1 kB / 0.9721 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.8472, allocations: 289.4 kB / 0.9723 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.8473, allocations: 4.375 kB / 0.9723 GB, free: 16.19 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005525/0.8478, allocations: 306 kB / 0.9726 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=45): time 2.053e-06/0.8478, allocations: 0 / 0.9726 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45): time 0.002776/0.8506, allocations: 1.245 MB / 0.9738 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.8507, allocations: 57.78 kB / 0.9739 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.8522, allocations: 1.743 MB / 0.9756 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.8523, allocations: 42.08 kB / 0.9756 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.8526, allocations: 0.5129 MB / 0.9761 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.57e-05/0.8527, allocations: 150.7 kB / 0.9763 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.8529, allocations: 97.3 kB / 0.9764 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.853, allocations: 327.2 kB / 0.9767 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004351/0.8534, allocations: 227 kB / 0.9769 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/0.8539, allocations: 324.1 kB / 0.9772 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007632/0.8547, allocations: 0.5149 MB / 0.9777 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8547, allocations: 3.938 kB / 0.9777 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001468/0.8562, allocations: 0.8512 MB / 0.9786 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.8562, allocations: 7.844 kB / 0.9786 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.8562, allocations: 2.594 kB / 0.9786 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004847/0.8567, allocations: 186.5 kB / 0.9787 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.857, allocations: 96.7 kB / 0.9788 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/0.8603, allocations: 2.996 MB / 0.9818 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.8607, allocations: 75.92 kB / 0.9818 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.8608, allocations: 21.72 kB / 0.9819 GB, free: 10.71 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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,$PRE.mean.y,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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004283/0.8612, allocations: 382 kB / 0.9822 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.8613, allocations: 115.7 kB / 0.9823 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.8615, allocations: 138 kB / 0.9825 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.8615, allocations: 4.406 kB / 0.9825 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.8615, allocations: 2.938 kB / 0.9825 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.8616, allocations: 5.938 kB / 0.9825 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002258/0.8638, allocations: 1.572 MB / 0.984 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.8638, allocations: 0 / 0.984 GB, free: 9.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002085/0.864, allocations: 42.88 kB / 0.9841 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004252/0.8645, allocations: 192 kB / 0.9842 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.8645, allocations: 17.81 kB / 0.9843 GB, free: 9.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004021/0.8686, allocations: 4.55 MB / 0.9887 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8686, allocations: 0 / 0.9887 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.8703, allocations: 1.069 MB / 0.9897 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.8706, allocations: 215 kB / 0.9899 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.8707, allocations: 9.25 kB / 0.99 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.871, allocations: 29.44 kB / 0.99 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.8711, allocations: 55.77 kB / 0.99 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.8711, allocations: 17.98 kB / 0.9901 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001296/0.8724, allocations: 1.277 MB / 0.9913 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8725, allocations: 0 / 0.9913 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007369/0.8732, allocations: 199 kB / 0.9915 GB, free: 3.883 MB / 0.7325 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) * 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,13,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.002899/0.8761, allocations: 1.978 MB / 0.9934 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001452/0.8776, allocations: 0.7165 MB / 0.9941 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8776, allocations: 6.875 kB / 0.9941 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007969/0.8784, allocations: 0.551 MB / 0.9947 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009724/0.8794, allocations: 208.4 kB / 0.9949 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.8907, allocations: 8.563 MB / 1.003 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.8915, allocations: 1.149 MB / 1.004 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003177/0.8918, allocations: 92.64 kB / 1.004 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004139/0.8922, allocations: 403.4 kB / 1.005 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of SimCode: time 8.32e-07/0.8922, allocations: 0 / 1.005 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04419/0.9364, allocations: 20.87 MB / 1.025 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.87, allocations: 8.75 kB / 1.025 GB, free: 10.81 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)