Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.TestCase1,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_IDEAS_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.008235/0.008235, allocations: 104.3 kB / 15.74 MB, free: 6.043 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.001788/0.001788, allocations: 189.1 kB / 16.67 MB, free: 5.957 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8055/0.8055, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001948, allocations: 63.22 kB / 0.5808 GB, free: 24.12 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1845, allocations: 80.22 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.6254/0.81, allocations: 156.7 MB / 0.8122 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02739/0.8374, allocations: 21.74 MB / 0.8334 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002968/0.8404, allocations: 54.94 kB / 0.8335 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.8425, allocations: 1.159 MB / 0.8346 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001931/0.8444, allocations: 0.8517 MB / 0.8355 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.8459, allocations: 446.5 kB / 0.8359 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001775/0.8477, allocations: 1.264 MB / 0.8371 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.8489, allocations: 0.6899 MB / 0.8378 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.8501, allocations: 0.5492 MB / 0.8383 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.8514, allocations: 0.9171 MB / 0.8392 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001816/0.8516, allocations: 65.25 kB / 0.8393 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.852, allocations: 111 kB / 0.8394 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.8524, allocations: 318 kB / 0.8397 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006223/0.853, allocations: 491.4 kB / 0.8402 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001443/0.8545, allocations: 1.198 MB / 0.8413 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8545, allocations: 4 kB / 0.8413 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8545, allocations: 0 / 0.8413 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.522e-05/0.8546, allocations: 0 / 0.8413 GB, free: 8.133 MB / 0.6075 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.002769/0.8573, allocations: 1.481 MB / 0.8428 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.8574, allocations: 10.16 kB / 0.8428 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001249/0.8575, allocations: 79.61 kB / 0.8429 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002496/0.8578, allocations: 135.6 kB / 0.843 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009641/0.8587, allocations: 0.6639 MB / 0.8436 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.8589, allocations: 71.56 kB / 0.8437 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.259e-05/0.859, allocations: 50.52 kB / 0.8438 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000962/0.86, allocations: 0.5182 MB / 0.8443 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.86, allocations: 2.812 kB / 0.8443 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.86, allocations: 15 kB / 0.8443 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.8601, allocations: 13.72 kB / 0.8443 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/0.8609, allocations: 415.1 kB / 0.8447 GB, free: 5.66 MB / 0.6075 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.003912/0.8648, allocations: 2.727 MB / 0.8474 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000997/0.8658, allocations: 452.2 kB / 0.8478 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006692/0.8665, allocations: 309.2 kB / 0.8481 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.985e-05/0.8666, allocations: 9.688 kB / 0.8481 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005946/0.8672, allocations: 280.7 kB / 0.8484 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 3.156e-06/0.8672, allocations: 0 / 0.8484 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.00295/0.8702, allocations: 1.152 MB / 0.8495 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.8702, allocations: 56.25 kB / 0.8495 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002549/0.8728, allocations: 1.765 MB / 0.8513 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.982e-05/0.8729, allocations: 37.7 kB / 0.8513 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004474/0.8733, allocations: 0.525 MB / 0.8518 GB, free: 432 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.8735, allocations: 142 kB / 0.8519 GB, free: 288 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.8737, allocations: 94.25 kB / 0.852 GB, free: 188 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.8739, allocations: 333.9 kB / 0.8524 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.8744, allocations: 213 kB / 0.8526 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.875, allocations: 343.1 kB / 0.8529 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000929/0.876, allocations: 0.5065 MB / 0.8534 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.876, allocations: 4 kB / 0.8534 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0016/0.8776, allocations: 0.8149 MB / 0.8542 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.8776, allocations: 8 kB / 0.8542 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.8777, allocations: 8.219 kB / 0.8542 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004581/0.8781, allocations: 132.7 kB / 0.8543 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.8785, allocations: 99.86 kB / 0.8544 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003359/0.8819, allocations: 2.606 MB / 0.857 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006339/0.8826, allocations: 75.48 kB / 0.857 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.565e-05/0.8826, allocations: 24.06 kB / 0.8571 GB, free: 10.8 MB / 0.6231 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.0007666/0.8834, allocations: 387.3 kB / 0.8574 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.8836, allocations: 118.4 kB / 0.8575 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.884, allocations: 139.7 kB / 0.8577 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.884, allocations: 4 kB / 0.8577 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/0.884, allocations: 4 kB / 0.8577 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.8841, allocations: 0 / 0.8577 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/0.8867, allocations: 1.501 MB / 0.8591 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.8867, allocations: 0 / 0.8591 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.887, allocations: 43.95 kB / 0.8592 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004468/0.8874, allocations: 169 kB / 0.8593 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.8875, allocations: 15.98 kB / 0.8594 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003861/0.8913, allocations: 4.013 MB / 0.8633 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.8914, allocations: 3.938 kB / 0.8633 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.8932, allocations: 0.9893 MB / 0.8642 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.8936, allocations: 219.5 kB / 0.8645 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.8938, allocations: 15.94 kB / 0.8645 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.8942, allocations: 27.97 kB / 0.8645 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.8944, allocations: 63.75 kB / 0.8646 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.8944, allocations: 16 kB / 0.8646 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00171/0.8961, allocations: 1.293 MB / 0.8658 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8961, allocations: 0 / 0.8658 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008699/0.897, allocations: 183.8 kB / 0.866 GB, free: 1.219 MB / 0.6231 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.003099/0.9001, allocations: 1.905 MB / 0.8679 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001756/0.9019, allocations: 0.6557 MB / 0.8685 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.9019, allocations: 4.125 kB / 0.8685 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009499/0.9029, allocations: 0.5321 MB / 0.869 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.9042, allocations: 204.7 kB / 0.8692 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/0.918, allocations: 8.495 MB / 0.8775 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009029/0.9189, allocations: 1.157 MB / 0.8787 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003895/0.9194, allocations: 100.7 kB / 0.8788 GB, free: 4.07 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005358/0.9199, allocations: 407.3 kB / 0.8791 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of SimCode: time 1.483e-06/0.9199, allocations: 0 / 0.8791 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05338/0.9733, allocations: 21.16 MB / 0.8998 GB, free: 14.77 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/12.07, allocations: 15.8 kB / 0.8998 GB, free: 14.76 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)