Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.001121/0.001121, 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.001237/0.001237, allocations: 189.1 kB / 16.62 MB, free: 6.582 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.375/1.375, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.661/1.661, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.002399/0.0024, allocations: 69 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2257, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.5919/0.8177, allocations: 156.7 MB / 0.9367 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02652/0.8442, allocations: 21.55 MB / 0.9577 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003236/0.8475, allocations: 49.69 kB / 0.9578 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.8493, allocations: 1.171 MB / 0.9589 GB, free: 4.559 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.001832/0.8512, allocations: 0.8525 MB / 0.9597 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.8525, allocations: 403.4 kB / 0.9601 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001651/0.8541, allocations: 1.25 MB / 0.9614 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.8552, allocations: 0.6871 MB / 0.962 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.8564, allocations: 0.546 MB / 0.9626 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.8578, allocations: 0.9141 MB / 0.9634 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000139/0.8579, allocations: 65.16 kB / 0.9635 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.8583, allocations: 109.9 kB / 0.9636 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.8585, allocations: 319.3 kB / 0.9639 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003912/0.8589, allocations: 488.6 kB / 0.9644 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.8601, allocations: 1.196 MB / 0.9656 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8601, allocations: 0 / 0.9656 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8601, allocations: 4 kB / 0.9656 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.792e-05/0.8602, allocations: 0 / 0.9656 GB, free: 3.855 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.00262/0.8628, allocations: 1.471 MB / 0.967 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.8628, allocations: 8.781 kB / 0.967 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.132e-05/0.8629, allocations: 83.73 kB / 0.9671 GB, free: 18.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.8631, allocations: 131.7 kB / 0.9672 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008152/0.8639, allocations: 0.6687 MB / 0.9679 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.8641, allocations: 72.88 kB / 0.9679 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.497e-05/0.8642, allocations: 47.31 kB / 0.968 GB, free: 18.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009227/0.8651, allocations: 0.5183 MB / 0.9685 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.8651, allocations: 5.312 kB / 0.9685 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.2e-05/0.8652, allocations: 19.61 kB / 0.9685 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.8652, allocations: 11 kB / 0.9685 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007709/0.866, allocations: 405.3 kB / 0.9689 GB, free: 18.35 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.003409/0.8694, allocations: 2.712 MB / 0.9716 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009211/0.8703, allocations: 453.2 kB / 0.972 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005968/0.871, allocations: 317 kB / 0.9723 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.871, allocations: 3.938 kB / 0.9723 GB, free: 16.24 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005218/0.8715, allocations: 287.5 kB / 0.9726 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=44): time 2.545e-06/0.8715, allocations: 0 / 0.9726 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44): time 0.002526/0.8741, allocations: 1.142 MB / 0.9737 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.8741, allocations: 62.73 kB / 0.9737 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.8758, allocations: 1.757 MB / 0.9755 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.8759, allocations: 36.39 kB / 0.9755 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.8762, allocations: 0.5235 MB / 0.976 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.827e-05/0.8763, allocations: 148.7 kB / 0.9761 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.8765, allocations: 100.5 kB / 0.9762 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.8766, allocations: 330.4 kB / 0.9766 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/0.877, allocations: 205.7 kB / 0.9767 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.8775, allocations: 346.5 kB / 0.9771 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007709/0.8783, allocations: 0.5129 MB / 0.9776 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8783, allocations: 3.594 kB / 0.9776 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001411/0.8797, allocations: 0.8186 MB / 0.9784 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.8798, allocations: 9.5 kB / 0.9784 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.8798, allocations: 6.562 kB / 0.9784 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003861/0.8802, allocations: 134.5 kB / 0.9785 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003502/0.8805, allocations: 104 kB / 0.9786 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.8833, allocations: 2.599 MB / 0.9812 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.8838, allocations: 79.16 kB / 0.9812 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/0.8839, allocations: 20.97 kB / 0.9813 GB, free: 10.92 MB / 0.7325 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,$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 (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.0005671/0.8844, allocations: 384.8 kB / 0.9816 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.8846, allocations: 113.5 kB / 0.9817 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002015/0.8848, allocations: 142.8 kB / 0.9819 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.8848, allocations: 9.344 kB / 0.9819 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.8848, allocations: 2.812 kB / 0.9819 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.8848, allocations: 2.391 kB / 0.9819 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002157/0.887, allocations: 1.49 MB / 0.9833 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.887, allocations: 1.875 kB / 0.9833 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.8872, allocations: 43.75 kB / 0.9834 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003591/0.8876, allocations: 167.5 kB / 0.9835 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.8876, allocations: 16.33 kB / 0.9836 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/0.8909, allocations: 4.027 MB / 0.9875 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.891, allocations: 0 / 0.9875 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.8926, allocations: 0.9848 MB / 0.9885 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.893, allocations: 211.1 kB / 0.9887 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.226e-05/0.8931, allocations: 12.47 kB / 0.9887 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.8934, allocations: 29.66 kB / 0.9887 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.8935, allocations: 57.5 kB / 0.9888 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.8936, allocations: 18.33 kB / 0.9888 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001602/0.8952, allocations: 1.29 MB / 0.99 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8952, allocations: 0 / 0.99 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007733/0.896, allocations: 197.7 kB / 0.9902 GB, free: 4.668 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,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.002802/0.8988, allocations: 1.907 MB / 0.9921 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001319/0.9001, allocations: 0.654 MB / 0.9927 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9001, allocations: 0 / 0.9927 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007661/0.9009, allocations: 0.5328 MB / 0.9932 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009806/0.9019, allocations: 194.9 kB / 0.9934 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.9129, allocations: 8.493 MB / 1.002 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/0.9137, allocations: 1.157 MB / 1.003 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003158/0.914, allocations: 90.08 kB / 1.003 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/0.9144, allocations: 407.6 kB / 1.003 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of SimCode: time 6.81e-07/0.9144, allocations: 3.938 kB / 1.003 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04334/0.9578, allocations: 20.49 MB / 1.023 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.09, allocations: 2.578 kB / 1.023 GB, free: 12.72 MB / 0.7637 GB (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)