Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="BuildingSystems_BuildingSystems_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.001008/0.001008, allocations: 108 kB / 15.6 MB, free: 132 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.001285/0.001286, allocations: 197.1 kB / 16.54 MB, free: 6.672 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 295 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.958/0.958, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 99.09 kB / 0.5954 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1276, allocations: 86.98 MB / 0.6803 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4114/0.539, allocations: 156.7 MB / 0.8333 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02188/0.5609, allocations: 21.75 MB / 0.8546 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.5628, allocations: 58.91 kB / 0.8546 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.5642, allocations: 1.165 MB / 0.8558 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.5654, allocations: 0.8541 MB / 0.8566 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.5665, allocations: 439.3 kB / 0.857 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001057/0.5675, allocations: 1.256 MB / 0.8582 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007064/0.5683, allocations: 0.6873 MB / 0.8589 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.5688, allocations: 0.547 MB / 0.8595 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008325/0.5696, allocations: 0.9149 MB / 0.8603 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.69e-05/0.5697, allocations: 69.84 kB / 0.8604 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.5699, allocations: 113.1 kB / 0.8605 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.5702, allocations: 311 kB / 0.8608 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003728/0.5706, allocations: 495.7 kB / 0.8613 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009601/0.5715, allocations: 1.182 MB / 0.8624 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.5715, allocations: 0 / 0.8624 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5715, allocations: 0 / 0.8624 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.5716, allocations: 0 / 0.8624 GB, free: 4.746 MB / 0.5762 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.002021/0.5736, allocations: 1.484 MB / 0.8639 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.5736, allocations: 7.688 kB / 0.8639 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.313e-05/0.5737, allocations: 81.73 kB / 0.864 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.5739, allocations: 136.6 kB / 0.8641 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007578/0.5747, allocations: 0.6545 MB / 0.8647 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.5748, allocations: 74.94 kB / 0.8648 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.5749, allocations: 53.58 kB / 0.8649 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009248/0.5758, allocations: 0.5192 MB / 0.8654 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.5758, allocations: 0 / 0.8654 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.053e-05/0.5759, allocations: 17 kB / 0.8654 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.5759, allocations: 10.06 kB / 0.8654 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008717/0.5768, allocations: 418.7 kB / 0.8658 GB, free: 2.277 MB / 0.5762 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.003345/0.5801, allocations: 2.801 MB / 0.8685 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009624/0.5811, allocations: 454.8 kB / 0.869 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005374/0.5817, allocations: 289.4 kB / 0.8692 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.5817, allocations: 7.312 kB / 0.8693 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005301/0.5823, allocations: 304.4 kB / 0.8695 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 3.526e-06/0.5823, allocations: 3.984 kB / 0.8695 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002874/0.5851, allocations: 1.243 MB / 0.8708 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.5852, allocations: 58.16 kB / 0.8708 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.5868, allocations: 1.744 MB / 0.8725 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/0.5869, allocations: 36.08 kB / 0.8726 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004223/0.5873, allocations: 0.5252 MB / 0.8731 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.5874, allocations: 146.1 kB / 0.8732 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.5876, allocations: 95.75 kB / 0.8733 GB, free: 13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5877, allocations: 333.8 kB / 0.8736 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004784/0.5882, allocations: 215.8 kB / 0.8738 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.5887, allocations: 325.6 kB / 0.8741 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008796/0.5896, allocations: 0.5075 MB / 0.8746 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5896, allocations: 0 / 0.8746 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001591/0.5912, allocations: 0.8511 MB / 0.8755 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5912, allocations: 11.67 kB / 0.8755 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5913, allocations: 2.719 kB / 0.8755 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004854/0.5918, allocations: 189.6 kB / 0.8757 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/0.5921, allocations: 87.69 kB / 0.8757 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003328/0.5955, allocations: 3.002 MB / 0.8787 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.5959, allocations: 78.86 kB / 0.8787 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.5959, allocations: 19.56 kB / 0.8788 GB, free: 8.945 MB / 0.5919 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_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 (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.0004185/0.5964, allocations: 392.5 kB / 0.8791 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.5965, allocations: 119.2 kB / 0.8793 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000211/0.5967, allocations: 144.1 kB / 0.8794 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.5967, allocations: 4.875 kB / 0.8794 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.187e-05/0.5967, allocations: 5.25 kB / 0.8794 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5967, allocations: 0 / 0.8794 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002398/0.5991, allocations: 1.564 MB / 0.8809 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5992, allocations: 0 / 0.8809 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.5994, allocations: 44.28 kB / 0.881 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/0.5999, allocations: 203.2 kB / 0.8812 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.5999, allocations: 6.344 kB / 0.8812 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/0.6042, allocations: 4.553 MB / 0.8856 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6043, allocations: 7.938 kB / 0.8856 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.6061, allocations: 1.066 MB / 0.8867 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/0.6063, allocations: 212.5 kB / 0.8869 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.6064, allocations: 10.09 kB / 0.8869 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.6068, allocations: 35.19 kB / 0.8869 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.6069, allocations: 50.53 kB / 0.887 GB, free: 2.441 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.92e-05/0.607, allocations: 18.11 kB / 0.887 GB, free: 2.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001396/0.6084, allocations: 1.284 MB / 0.8882 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6084, allocations: 0 / 0.8882 GB, free: 1.219 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007696/0.6092, allocations: 199.6 kB / 0.8884 GB, free: 1.023 MB / 0.5919 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,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.003116/0.6123, allocations: 1.992 MB / 0.8904 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001603/0.6139, allocations: 0.7615 MB / 0.8911 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.6139, allocations: 0 / 0.8911 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008796/0.6148, allocations: 0.548 MB / 0.8916 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.6158, allocations: 205.8 kB / 0.8918 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.6279, allocations: 9.136 MB / 0.9008 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007222/0.6286, allocations: 1.153 MB / 0.9019 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002826/0.6289, allocations: 92.72 kB / 0.902 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.6294, allocations: 407.3 kB / 0.9024 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.6294, allocations: 0 / 0.9024 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8261/1.455, allocations: 20.87 MB / 0.9227 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.92, allocations: 6.984 kB / 0.9228 GB, free: 13.89 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)