Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TestCase5,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5,fileNamePrefix="IDEAS_dev_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.004976/0.004976, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001133/0.001133, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9236/0.9236, allocations: 135.1 MB / 425.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4391/0.4404, allocations: 80.91 MB / 0.6641 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1864/0.6269, allocations: 157.2 MB / 0.8177 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02732/0.6542, allocations: 21.98 MB / 0.8392 GB, free: 13.7 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.657, allocations: 55.69 kB / 0.8392 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.6599, allocations: 2.155 MB / 0.8413 GB, free: 11.48 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.6629, allocations: 1.421 MB / 0.8427 GB, free: 10.06 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.6649, allocations: 0.5834 MB / 0.8433 GB, free: 9.48 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002981/0.6679, allocations: 1.828 MB / 0.8451 GB, free: 7.648 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.6701, allocations: 1.082 MB / 0.8461 GB, free: 6.547 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.672, allocations: 0.8842 MB / 0.847 GB, free: 5.66 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.6742, allocations: 1.534 MB / 0.8485 GB, free: 4.125 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003288/0.6745, allocations: 92 kB / 0.8486 GB, free: 4.035 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005688/0.6751, allocations: 139.9 kB / 0.8487 GB, free: 3.898 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006175/0.6758, allocations: 0.5238 MB / 0.8492 GB, free: 3.371 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.6769, allocations: 0.7719 MB / 0.85 GB, free: 2.594 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.679, allocations: 1.852 MB / 0.8518 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.679, allocations: 0 / 0.8518 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.723e-06/0.679, allocations: 0 / 0.8518 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.658e-05/0.6791, allocations: 0 / 0.8518 GB, free: 0.7344 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003451/0.6825, allocations: 2.288 MB / 0.854 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6826, allocations: 12.03 kB / 0.854 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.6827, allocations: 102.7 kB / 0.8541 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.683, allocations: 237.6 kB / 0.8544 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.6843, allocations: 1.003 MB / 0.8553 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.6845, allocations: 87 kB / 0.8554 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-05/0.6846, allocations: 64 kB / 0.8555 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.6859, allocations: 0.7329 MB / 0.8562 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.6859, allocations: 0 / 0.8562 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.989e-05/0.686, allocations: 27.98 kB / 0.8562 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.686, allocations: 15.94 kB / 0.8562 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.6871, allocations: 0.5984 MB / 0.8568 GB, free: 11.42 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00478/0.6919, allocations: 3.502 MB / 0.8602 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.6934, allocations: 0.7076 MB / 0.8609 GB, free: 6.941 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007286/0.6942, allocations: 414.3 kB / 0.8613 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 4.854e-05/0.6942, allocations: 8.562 kB / 0.8613 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007678/0.695, allocations: 434.9 kB / 0.8617 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 2.525e-06/0.695, allocations: 0 / 0.8617 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.004062/0.6991, allocations: 1.796 MB / 0.8635 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.6992, allocations: 63.95 kB / 0.8636 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00316/0.7023, allocations: 3.308 MB / 0.8668 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.197e-05/0.7024, allocations: 41.7 kB / 0.8668 GB, free: 0.7891 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.3393/1.042, allocations: 0.8827 MB / 0.8677 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004255/1.042, allocations: 225.4 kB / 0.8679 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/1.042, allocations: 130.7 kB / 0.868 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/1.043, allocations: 337.5 kB / 0.8684 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007774/1.043, allocations: 306.8 kB / 0.8686 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008887/1.044, allocations: 435 kB / 0.8691 GB, free: 193 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/1.046, allocations: 0.7119 MB / 0.8698 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.046, allocations: 5.562 kB / 0.8698 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002945/1.049, allocations: 1.211 MB / 0.8709 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/1.049, allocations: 7.969 kB / 0.871 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.049, allocations: 6.812 kB / 0.871 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/1.05, allocations: 264.2 kB / 0.8712 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000597/1.05, allocations: 130.7 kB / 0.8713 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005499/1.056, allocations: 4.757 MB / 0.876 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000728/1.057, allocations: 92.97 kB / 0.8761 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/1.057, allocations: 26.25 kB / 0.8761 GB, free: 188.6 MB / 0.6856 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.001133/1.058, allocations: 0.6078 MB / 0.8767 GB, free: 188.3 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002807/1.058, allocations: 206.5 kB / 0.8769 GB, free: 188.2 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004407/1.059, allocations: 254.9 kB / 0.8771 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/1.059, allocations: 7.5 kB / 0.8771 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-05/1.059, allocations: 3.719 kB / 0.8771 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/1.059, allocations: 6.797 kB / 0.8771 GB, free: 188.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004337/1.063, allocations: 2.334 MB / 0.8794 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.063, allocations: 3.938 kB / 0.8794 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/1.063, allocations: 70.83 kB / 0.8795 GB, free: 187.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000678/1.064, allocations: 250.5 kB / 0.8797 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/1.064, allocations: 17.92 kB / 0.8798 GB, free: 187 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004005/1.068, allocations: 4.753 MB / 0.8844 GB, free: 183 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/1.068, allocations: 0 / 0.8844 GB, free: 183 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002688/1.071, allocations: 1.583 MB / 0.8859 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/1.071, allocations: 306.3 kB / 0.8862 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/1.072, allocations: 18.66 kB / 0.8862 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004141/1.072, allocations: 42.73 kB / 0.8863 GB, free: 181.8 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/1.072, allocations: 71.53 kB / 0.8864 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/1.072, allocations: 24.98 kB / 0.8864 GB, free: 181.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002975/1.075, allocations: 2.426 MB / 0.8888 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.075, allocations: 2 kB / 0.8888 GB, free: 180.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001144/1.076, allocations: 286.1 kB / 0.889 GB, free: 180.6 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: 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.003705/1.08, allocations: 2.516 MB / 0.8915 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002018/1.082, allocations: 1.061 MB / 0.8925 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.082, allocations: 1.312 kB / 0.8925 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.083, allocations: 0.6886 MB / 0.8932 GB, free: 178 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/1.084, allocations: 291.2 kB / 0.8935 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01866/1.103, allocations: 13.7 MB / 0.9069 GB, free: 170.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008886/1.104, allocations: 1.526 MB / 0.9083 GB, free: 169.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000512/1.104, allocations: 154.3 kB / 0.9085 GB, free: 169.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005628/1.105, allocations: 0.7062 MB / 0.9092 GB, free: 168.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.092e-06/1.105, allocations: 0 / 0.9092 GB, free: 168.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06394/1.169, allocations: 33.46 MB / 0.9419 GB, free: 135.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/14.02, allocations: 18.11 kB / 0.9419 GB, free: 135.4 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)