Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.007396/0.007396, allocations: 103.7 kB / 15.73 MB, free: 6.051 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.001607/0.001607, allocations: 194.4 kB / 16.68 MB, free: 5.98 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9083/0.9083, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 63.89 kB / 0.5851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3832, allocations: 80.91 MB / 0.6641 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.16/0.5432, allocations: 156.7 MB / 0.8172 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02338/0.5667, allocations: 21.74 MB / 0.8384 GB, free: 14.52 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.5684, allocations: 51.69 kB / 0.8385 GB, free: 14.47 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002242/0.5707, allocations: 1.161 MB / 0.8396 GB, free: 13.3 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.5726, allocations: 0.8601 MB / 0.8404 GB, free: 12.44 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.5742, allocations: 452.5 kB / 0.8409 GB, free: 12 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002261/0.5765, allocations: 1.263 MB / 0.8421 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001299/0.5778, allocations: 0.6775 MB / 0.8428 GB, free: 10.05 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.5791, allocations: 0.5569 MB / 0.8433 GB, free: 9.496 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.5807, allocations: 0.9216 MB / 0.8442 GB, free: 8.574 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.581, allocations: 64 kB / 0.8443 GB, free: 8.512 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.5814, allocations: 111.9 kB / 0.8444 GB, free: 8.402 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004503/0.5819, allocations: 320.7 kB / 0.8447 GB, free: 8.086 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007314/0.5826, allocations: 492.8 kB / 0.8452 GB, free: 7.602 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.5843, allocations: 1.199 MB / 0.8463 GB, free: 6.398 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5844, allocations: 0 / 0.8463 GB, free: 6.398 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.322e-06/0.5844, allocations: 0 / 0.8463 GB, free: 6.398 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.537e-05/0.5844, allocations: 4 kB / 0.8463 GB, free: 6.395 MB / 0.67 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.00314/0.5875, allocations: 1.471 MB / 0.8478 GB, free: 4.871 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.5876, allocations: 12.03 kB / 0.8478 GB, free: 4.859 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.5878, allocations: 82.7 kB / 0.8479 GB, free: 4.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.588, allocations: 138.9 kB / 0.848 GB, free: 4.633 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.5893, allocations: 0.6702 MB / 0.8486 GB, free: 3.91 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.5895, allocations: 74.67 kB / 0.8487 GB, free: 3.828 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.5896, allocations: 48 kB / 0.8488 GB, free: 3.781 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.591, allocations: 0.5184 MB / 0.8493 GB, free: 3.254 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.591, allocations: 3.938 kB / 0.8493 GB, free: 3.25 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/0.5911, allocations: 16 kB / 0.8493 GB, free: 3.234 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.136e-05/0.5911, allocations: 19.92 kB / 0.8493 GB, free: 3.215 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.5925, allocations: 403.7 kB / 0.8497 GB, free: 2.82 MB / 0.67 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.004062/0.5965, allocations: 2.792 MB / 0.8524 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.5979, allocations: 455.3 kB / 0.8528 GB, free: 15.33 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000716/0.5986, allocations: 285.3 kB / 0.8531 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 4.401e-05/0.5987, allocations: 4.328 kB / 0.8531 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008387/0.5995, allocations: 294.8 kB / 0.8534 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=45): time 2.915e-06/0.5995, allocations: 0 / 0.8534 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=45): time 0.003948/0.6035, allocations: 1.247 MB / 0.8546 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.6036, allocations: 59.39 kB / 0.8547 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.6061, allocations: 1.744 MB / 0.8564 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.41e-05/0.6062, allocations: 41.7 kB / 0.8564 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/0.6069, allocations: 0.5178 MB / 0.8569 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/0.6071, allocations: 145.9 kB / 0.8571 GB, free: 10.92 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/0.6073, allocations: 98.25 kB / 0.8572 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6075, allocations: 338.3 kB / 0.8575 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.6081, allocations: 217 kB / 0.8577 GB, free: 10.27 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/0.6087, allocations: 320.9 kB / 0.858 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.6097, allocations: 0.507 MB / 0.8585 GB, free: 9.375 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.6097, allocations: 3.938 kB / 0.8585 GB, free: 9.371 MB / 0.6856 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001518/0.6112, allocations: 0.8417 MB / 0.8593 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6113, allocations: 10.19 kB / 0.8593 GB, free: 8.512 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6113, allocations: 7.938 kB / 0.8593 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005015/0.6118, allocations: 188.8 kB / 0.8595 GB, free: 8.316 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.6122, allocations: 95.88 kB / 0.8596 GB, free: 8.223 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003604/0.6158, allocations: 2.993 MB / 0.8625 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.6162, allocations: 71.48 kB / 0.8626 GB, free: 5.02 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.6162, allocations: 24 kB / 0.8626 GB, free: 4.996 MB / 0.6856 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.0004758/0.6167, allocations: 391.4 kB / 0.863 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.6169, allocations: 114.5 kB / 0.8631 GB, free: 4.492 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.6171, allocations: 139.7 kB / 0.8632 GB, free: 4.352 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6171, allocations: 7.938 kB / 0.8632 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.6171, allocations: 7.984 kB / 0.8633 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6171, allocations: 0 / 0.8633 GB, free: 4.336 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.6196, allocations: 1.563 MB / 0.8648 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6197, allocations: 4 kB / 0.8648 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.6199, allocations: 47.91 kB / 0.8648 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005419/0.6204, allocations: 192.7 kB / 0.865 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.6205, allocations: 11.98 kB / 0.865 GB, free: 2.461 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2999/0.9204, allocations: 4.539 MB / 0.8695 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.9204, allocations: 0 / 0.8695 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.9222, allocations: 1.063 MB / 0.8705 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.9224, allocations: 214.8 kB / 0.8707 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.363e-05/0.9225, allocations: 17.17 kB / 0.8707 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000297/0.9228, allocations: 30.66 kB / 0.8707 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.923, allocations: 57.58 kB / 0.8708 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.923, allocations: 15.91 kB / 0.8708 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001455/0.9245, allocations: 1.281 MB / 0.8721 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9245, allocations: 0 / 0.8721 GB, free: 190.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007798/0.9253, allocations: 204.1 kB / 0.8723 GB, free: 190.9 MB / 0.6856 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.002808/0.9281, allocations: 1.986 MB / 0.8742 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001442/0.9296, allocations: 0.7167 MB / 0.8749 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9296, allocations: 3.938 kB / 0.8749 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008083/0.9304, allocations: 0.5508 MB / 0.8754 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008898/0.9313, allocations: 196.5 kB / 0.8756 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.9426, allocations: 8.576 MB / 0.884 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006005/0.9432, allocations: 1.158 MB / 0.8851 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003092/0.9435, allocations: 88.77 kB / 0.8852 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.9439, allocations: 407.1 kB / 0.8856 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of SimCode: time 6.21e-07/0.9439, allocations: 1.344 kB / 0.8856 GB, free: 183.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05105/0.995, allocations: 21.23 MB / 0.9063 GB, free: 171.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/12.08, allocations: 2.328 kB / 0.9063 GB, free: 171.9 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)