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.008034/0.008034, allocations: 98.64 kB / 15.73 MB, free: 6.039 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.002188/0.002189, allocations: 202.3 kB / 16.68 MB, free: 5.961 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9803/0.9803, allocations: 135.6 MB / 426.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 71.88 kB / 0.5857 GB, free: 3.238 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3797, allocations: 81.01 MB / 0.6649 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5): time 0.1846/0.5643, allocations: 157.2 MB / 0.8184 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0277/0.592, allocations: 21.99 MB / 0.8399 GB, free: 13.22 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.5938, allocations: 55.69 kB / 0.8399 GB, free: 13.16 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002789/0.5967, allocations: 2.155 MB / 0.842 GB, free: 11 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.5991, allocations: 1.417 MB / 0.8434 GB, free: 9.582 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.6008, allocations: 0.5827 MB / 0.844 GB, free: 9.004 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002934/0.6038, allocations: 1.832 MB / 0.8458 GB, free: 7.168 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.6057, allocations: 1.077 MB / 0.8468 GB, free: 6.07 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.6074, allocations: 0.8841 MB / 0.8477 GB, free: 5.184 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.6096, allocations: 1.534 MB / 0.8492 GB, free: 3.648 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.6099, allocations: 88 kB / 0.8493 GB, free: 3.562 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004693/0.6104, allocations: 135.9 kB / 0.8494 GB, free: 3.43 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005811/0.611, allocations: 0.5277 MB / 0.8499 GB, free: 2.898 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.612, allocations: 0.768 MB / 0.8507 GB, free: 2.125 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.6145, allocations: 1.874 MB / 0.8525 GB, free: 248 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.6146, allocations: 0 / 0.8525 GB, free: 248 kB / 0.67 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6146, allocations: 0 / 0.8525 GB, free: 248 kB / 0.67 GB Notification: Performance of Transformations before backend: time 7.734e-05/0.6147, allocations: 0 / 0.8525 GB, free: 248 kB / 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.004336/0.619, allocations: 2.362 MB / 0.8548 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.619, allocations: 8.031 kB / 0.8548 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.6192, allocations: 106.7 kB / 0.8549 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003691/0.6196, allocations: 246.9 kB / 0.8552 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.6211, allocations: 1.028 MB / 0.8562 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/0.6212, allocations: 86.98 kB / 0.8562 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.6214, allocations: 64 kB / 0.8563 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.6228, allocations: 0.7368 MB / 0.857 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.6228, allocations: 0 / 0.857 GB, free: 11.45 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/0.6229, allocations: 20 kB / 0.857 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.704e-05/0.6229, allocations: 19.94 kB / 0.8571 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.6242, allocations: 0.5985 MB / 0.8576 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005429/0.6297, allocations: 3.506 MB / 0.8611 GB, free: 7.047 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001606/0.6313, allocations: 0.7022 MB / 0.8618 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008403/0.6322, allocations: 410.3 kB / 0.8621 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 6.014e-05/0.6322, allocations: 8.562 kB / 0.8622 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008666/0.6331, allocations: 434.9 kB / 0.8626 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=70): time 3.987e-06/0.6331, allocations: 0 / 0.8626 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of matching and sorting (n=70): time 0.004462/0.6376, allocations: 1.813 MB / 0.8643 GB, free: 3.633 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.6377, allocations: 63.95 kB / 0.8644 GB, free: 3.559 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/0.6416, allocations: 3.301 MB / 0.8676 GB, free: 236 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.6418, allocations: 49.7 kB / 0.8677 GB, free: 180 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.3097/0.9515, allocations: 0.8861 MB / 0.8685 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.9519, allocations: 234.2 kB / 0.8688 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.9521, allocations: 132 kB / 0.8689 GB, free: 193.3 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.9522, allocations: 338.9 kB / 0.8692 GB, free: 193 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006954/0.9529, allocations: 303.9 kB / 0.8695 GB, free: 192.9 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007032/0.9536, allocations: 435.7 kB / 0.8699 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001226/0.9548, allocations: 0.7235 MB / 0.8706 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.9548, allocations: 1.125 kB / 0.8706 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002345/0.9572, allocations: 1.22 MB / 0.8718 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.9572, allocations: 6.828 kB / 0.8718 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.9572, allocations: 4.797 kB / 0.8718 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007152/0.958, allocations: 256.7 kB / 0.8721 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.9585, allocations: 129.5 kB / 0.8722 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004272/0.9627, allocations: 4.765 MB / 0.8768 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006293/0.9634, allocations: 94.97 kB / 0.8769 GB, free: 188 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.392e-05/0.9634, allocations: 26.38 kB / 0.877 GB, free: 188 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.0008199/0.9643, allocations: 0.6069 MB / 0.8776 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/0.9645, allocations: 216.2 kB / 0.8778 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003622/0.9649, allocations: 256.2 kB / 0.878 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.9649, allocations: 7.375 kB / 0.878 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/0.9649, allocations: 7.219 kB / 0.878 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.9649, allocations: 1.875 kB / 0.878 GB, free: 187.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/0.9686, allocations: 2.34 MB / 0.8803 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.9686, allocations: 4 kB / 0.8803 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003203/0.9689, allocations: 73.22 kB / 0.8804 GB, free: 186.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006804/0.9696, allocations: 248.7 kB / 0.8806 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.9697, allocations: 22.08 kB / 0.8806 GB, free: 186.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003932/0.9736, allocations: 4.751 MB / 0.8853 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.9736, allocations: 3.938 kB / 0.8853 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.9762, allocations: 1.587 MB / 0.8868 GB, free: 181.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.9766, allocations: 325.7 kB / 0.8871 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.9767, allocations: 17.58 kB / 0.8872 GB, free: 181.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.9771, allocations: 38.31 kB / 0.8872 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/0.9773, allocations: 77.02 kB / 0.8873 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/0.9774, allocations: 24.64 kB / 0.8873 GB, free: 181.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002421/0.9798, allocations: 2.418 MB / 0.8897 GB, free: 180 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9798, allocations: 1.562 kB / 0.8897 GB, free: 180 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009943/0.9808, allocations: 287 kB / 0.8899 GB, free: 180 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.004301/0.9851, allocations: 2.533 MB / 0.8924 GB, free: 178.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002121/0.9873, allocations: 1.065 MB / 0.8934 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.9873, allocations: 0 / 0.8934 GB, free: 177.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.9884, allocations: 0.7005 MB / 0.8941 GB, free: 177.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/0.9898, allocations: 283.8 kB / 0.8944 GB, free: 177.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/1.008, allocations: 13.79 MB / 0.9079 GB, free: 169.9 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008591/1.009, allocations: 1.52 MB / 0.9094 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0004636/1.009, allocations: 154.3 kB / 0.9095 GB, free: 168.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/1.01, allocations: 0.7023 MB / 0.9102 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.273e-06/1.01, allocations: 0 / 0.9102 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06551/1.075, allocations: 32.96 MB / 0.9424 GB, free: 134.9 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.46/15.53, allocations: 9.078 kB / 0.9424 GB, free: 134.9 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5_res.csv --start-time 0 --stop-time 5.184e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase5.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.pipe 2>&1)