Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",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.005009/0.005009, allocations: 99.69 kB / 15.73 MB, free: 5.555 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.001652/0.001652, allocations: 196.4 kB / 16.68 MB, free: 5.484 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.225/1.225, allocations: 222.9 MB / 240.4 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7677/0.7677, allocations: 132.2 MB / 422.7 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 66.86 kB / 0.5809 GB, free: 1.168 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.146, allocations: 80.2 MB / 0.6592 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.196/0.3421, allocations: 157.2 MB / 0.8127 GB, free: 216 kB / 0.6388 GB Notification: Performance of NFInst.instExpressions: time 0.3243/0.6664, allocations: 21.97 MB / 0.8342 GB, free: 2.625 MB / 0.6388 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.6681, allocations: 56.31 kB / 0.8343 GB, free: 2.625 MB / 0.6388 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.67, allocations: 2.157 MB / 0.8364 GB, free: 2.574 MB / 0.6388 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.6716, allocations: 1.419 MB / 0.8377 GB, free: 2.539 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.6727, allocations: 0.5867 MB / 0.8383 GB, free: 2.527 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.674, allocations: 1.822 MB / 0.8401 GB, free: 2.527 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009298/0.675, allocations: 1.088 MB / 0.8412 GB, free: 2.418 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007073/0.6757, allocations: 0.8776 MB / 0.842 GB, free: 2.418 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.6768, allocations: 1.538 MB / 0.8435 GB, free: 2.414 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.000151/0.677, allocations: 96.28 kB / 0.8436 GB, free: 2.41 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002717/0.6773, allocations: 137.9 kB / 0.8437 GB, free: 2.406 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0003113/0.6776, allocations: 0.5277 MB / 0.8443 GB, free: 2.402 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.0004988/0.6781, allocations: 0.7689 MB / 0.845 GB, free: 2.277 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.6794, allocations: 1.871 MB / 0.8468 GB, free: 1.879 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6794, allocations: 0.8438 kB / 0.8468 GB, free: 1.879 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6794, allocations: 0 / 0.8468 GB, free: 1.879 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 1.953e-05/0.6794, allocations: 0.875 kB / 0.8468 GB, free: 1.879 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.00242/0.6818, allocations: 2.353 MB / 0.8491 GB, free: 0.5312 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.6819, allocations: 11.25 kB / 0.8491 GB, free: 0.5312 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.516e-05/0.682, allocations: 108.2 kB / 0.8492 GB, free: 0.4922 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.6822, allocations: 242 kB / 0.8495 GB, free: 372 kB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009939/0.6832, allocations: 1.038 MB / 0.8505 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.6833, allocations: 83.23 kB / 0.8506 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.344e-05/0.6834, allocations: 66.42 kB / 0.8506 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.6844, allocations: 0.7307 MB / 0.8513 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.6845, allocations: 0 / 0.8513 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.6845, allocations: 23.72 kB / 0.8514 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.6845, allocations: 16.19 kB / 0.8514 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000931/0.6855, allocations: 0.6025 MB / 0.852 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003727/0.6892, allocations: 3.507 MB / 0.8554 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/0.6905, allocations: 0.7021 MB / 0.8561 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.6911, allocations: 410.7 kB / 0.8565 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.541e-05/0.6911, allocations: 18.33 kB / 0.8565 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006655/0.6918, allocations: 429.8 kB / 0.8569 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=70): time 2.325e-06/0.6918, allocations: 0.8438 kB / 0.8569 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of matching and sorting (n=70): time 0.003715/0.6955, allocations: 1.809 MB / 0.8587 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.6956, allocations: 60.28 kB / 0.8587 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/0.6982, allocations: 3.309 MB / 0.862 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.746e-05/0.6983, allocations: 42.52 kB / 0.862 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006868/0.699, allocations: 0.8973 MB / 0.8629 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.6992, allocations: 235.1 kB / 0.8631 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.6994, allocations: 128.7 kB / 0.8632 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.6996, allocations: 339.8 kB / 0.8635 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005662/0.7001, allocations: 306.8 kB / 0.8638 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006522/0.7008, allocations: 431.7 kB / 0.8643 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.702, allocations: 0.715 MB / 0.865 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.702, allocations: 1.156 kB / 0.865 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002042/0.7041, allocations: 1.224 MB / 0.8661 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.7041, allocations: 9.312 kB / 0.8662 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.7041, allocations: 5.812 kB / 0.8662 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/0.7048, allocations: 269.3 kB / 0.8664 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.7052, allocations: 134.6 kB / 0.8665 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004584/0.7098, allocations: 4.753 MB / 0.8712 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/0.7103, allocations: 97.73 kB / 0.8713 GB, free: 9.355 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/0.7104, allocations: 30.84 kB / 0.8713 GB, free: 9.352 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 30 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,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 (73): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,18,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007104/0.7111, allocations: 0.5983 MB / 0.8719 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.7113, allocations: 217.9 kB / 0.8721 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.7117, allocations: 251.3 kB / 0.8723 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.7117, allocations: 8.094 kB / 0.8724 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.718e-05/0.7117, allocations: 7.188 kB / 0.8724 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.7117, allocations: 4.594 kB / 0.8724 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.7148, allocations: 2.336 MB / 0.8746 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7148, allocations: 1.062 kB / 0.8746 GB, free: 8.707 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.7151, allocations: 71.73 kB / 0.8747 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005403/0.7157, allocations: 247.9 kB / 0.8749 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/0.7157, allocations: 19.05 kB / 0.875 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004444/0.7202, allocations: 4.756 MB / 0.8796 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7202, allocations: 0.875 kB / 0.8796 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002499/0.7227, allocations: 1.585 MB / 0.8812 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.7231, allocations: 329.9 kB / 0.8815 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/0.7233, allocations: 18.92 kB / 0.8815 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.7237, allocations: 38.22 kB / 0.8815 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.7238, allocations: 70.38 kB / 0.8816 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.528e-05/0.7239, allocations: 33.42 kB / 0.8816 GB, free: 4.828 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002345/0.7263, allocations: 2.418 MB / 0.884 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7263, allocations: 0.75 kB / 0.884 GB, free: 4.055 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000782/0.727, allocations: 290.2 kB / 0.8843 GB, free: 4 MB / 0.6544 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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,18,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.005611/0.7327, allocations: 2.535 MB / 0.8867 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002667/0.7354, allocations: 1.065 MB / 0.8878 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.7354, allocations: 0 / 0.8878 GB, free: 2.184 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.7368, allocations: 0.6919 MB / 0.8885 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.7387, allocations: 294.6 kB / 0.8887 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02705/0.7658, allocations: 13.8 MB / 0.9022 GB, free: 5.695 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.7672, allocations: 1.529 MB / 0.9037 GB, free: 4.137 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004667/0.7677, allocations: 150.3 kB / 0.9039 GB, free: 3.984 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008773/0.7686, allocations: 0.7023 MB / 0.9045 GB, free: 3.281 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.7686, allocations: 0 / 0.9045 GB, free: 3.281 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4117/1.18, allocations: 32.94 MB / 0.9367 GB, free: 2.781 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.89/15.07, allocations: 22.64 kB / 0.9367 GB, free: 2.766 MB / 0.7013 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)