Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.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.TestCase10,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase10",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.006055/0.006055, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001233/0.001233, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8606/0.8606, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 63.25 kB / 0.5851 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1685, allocations: 80.92 MB / 0.6641 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10): time 0.6255/0.794, allocations: 157.5 MB / 0.818 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02879/0.8229, allocations: 22.05 MB / 0.8395 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/0.8258, allocations: 57.5 kB / 0.8395 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002281/0.8281, allocations: 2.167 MB / 0.8417 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/0.8303, allocations: 1.469 MB / 0.8431 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.832, allocations: 0.6296 MB / 0.8437 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002169/0.8342, allocations: 1.933 MB / 0.8456 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.8355, allocations: 1.131 MB / 0.8467 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.8367, allocations: 0.9162 MB / 0.8476 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.8383, allocations: 1.59 MB / 0.8491 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.8385, allocations: 97.53 kB / 0.8492 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.8389, allocations: 139.3 kB / 0.8494 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000449/0.8394, allocations: 0.5567 MB / 0.8499 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006865/0.84, allocations: 0.796 MB / 0.8507 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.8419, allocations: 1.953 MB / 0.8526 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.8419, allocations: 0 / 0.8526 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8419, allocations: 0 / 0.8526 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.644e-05/0.8419, allocations: 0 / 0.8526 GB, free: 14.36 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003477/0.8454, allocations: 2.434 MB / 0.855 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.8454, allocations: 13.11 kB / 0.855 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.8456, allocations: 114.7 kB / 0.8551 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000277/0.8459, allocations: 254.9 kB / 0.8553 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.8473, allocations: 1.052 MB / 0.8564 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.8474, allocations: 94.94 kB / 0.8565 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.8476, allocations: 71.98 kB / 0.8565 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.8489, allocations: 0.7845 MB / 0.8573 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/0.8489, allocations: 0 / 0.8573 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.849, allocations: 27.98 kB / 0.8573 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.849, allocations: 19.94 kB / 0.8573 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.8503, allocations: 0.6336 MB / 0.858 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00529/0.8556, allocations: 3.73 MB / 0.8616 GB, free: 4.719 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.8574, allocations: 0.7357 MB / 0.8623 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008633/0.8583, allocations: 434.3 kB / 0.8627 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.8583, allocations: 12.55 kB / 0.8627 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009043/0.8593, allocations: 452 kB / 0.8632 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=73): time 3.687e-06/0.8593, allocations: 0 / 0.8632 GB, free: 3.086 MB / 0.6231 GB Notification: Performance of matching and sorting (n=73): time 0.004706/0.864, allocations: 1.835 MB / 0.865 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.864, allocations: 64 kB / 0.865 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003833/0.8679, allocations: 3.366 MB / 0.8683 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.684e-05/0.868, allocations: 41.7 kB / 0.8684 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008484/0.8689, allocations: 0.9335 MB / 0.8693 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.8691, allocations: 246 kB / 0.8695 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.8693, allocations: 142.6 kB / 0.8696 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.8695, allocations: 337.9 kB / 0.87 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006988/0.8702, allocations: 321.7 kB / 0.8703 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000805/0.871, allocations: 472 kB / 0.8707 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.8723, allocations: 0.7473 MB / 0.8714 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8723, allocations: 0 / 0.8714 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002411/0.8748, allocations: 1.268 MB / 0.8727 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.8748, allocations: 4 kB / 0.8727 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.8748, allocations: 4 kB / 0.8727 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007789/0.8756, allocations: 260 kB / 0.8729 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.8762, allocations: 139.8 kB / 0.8731 GB, free: 8.723 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005055/0.8812, allocations: 4.76 MB / 0.8777 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008023/0.882, allocations: 99.41 kB / 0.8778 GB, free: 3.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.497e-05/0.8821, allocations: 32.05 kB / 0.8778 GB, free: 3.559 MB / 0.6387 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.tableSolRadWindow.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,outdoorTemp.nextTimeEventScaled,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEvent,greaterThreshold1.y,tableSolRadWindow.nextTimeEventScaled,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.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 (77): * Single equations (assignments): 75 * 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 {(1,3,100.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001142/0.8833, allocations: 0.603 MB / 0.8784 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/0.8836, allocations: 230.5 kB / 0.8787 GB, free: 2.719 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.884, allocations: 261.1 kB / 0.8789 GB, free: 2.461 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.884, allocations: 7.984 kB / 0.8789 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.884, allocations: 4 kB / 0.8789 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.884, allocations: 4.141 kB / 0.8789 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.8878, allocations: 2.417 MB / 0.8813 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.8878, allocations: 0 / 0.8813 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003376/0.8882, allocations: 67.89 kB / 0.8813 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006195/0.8888, allocations: 261.4 kB / 0.8816 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/0.8889, allocations: 23.92 kB / 0.8816 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004624/0.8935, allocations: 4.736 MB / 0.8862 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.8935, allocations: 7.812 kB / 0.8863 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002866/0.8964, allocations: 1.647 MB / 0.8879 GB, free: 8.918 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000584/0.897, allocations: 331.5 kB / 0.8882 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.8972, allocations: 16 kB / 0.8882 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/0.8978, allocations: 39.95 kB / 0.8882 GB, free: 8.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.898, allocations: 76.48 kB / 0.8883 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.06e-05/0.8981, allocations: 31.98 kB / 0.8883 GB, free: 8.414 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003181/0.9012, allocations: 2.46 MB / 0.8907 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9013, allocations: 0 / 0.8907 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001049/0.9023, allocations: 299.6 kB / 0.891 GB, free: 5.648 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,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,tableSolRadWindow.nextTimeEvent,outdoorTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 39 * 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.004268/0.9066, allocations: 2.591 MB / 0.8935 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002162/0.9088, allocations: 1.094 MB / 0.8946 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9088, allocations: 3.938 kB / 0.8946 GB, free: 2.094 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.9099, allocations: 0.7066 MB / 0.8953 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.9115, allocations: 297.2 kB / 0.8956 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02376/0.9353, allocations: 14.17 MB / 0.9094 GB, free: 2.641 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.9368, allocations: 1.552 MB / 0.9109 GB, free: 1.062 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0005243/0.9373, allocations: 158.5 kB / 0.9111 GB, free: 0.9023 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008427/0.9382, allocations: 0.7453 MB / 0.9118 GB, free: 160 kB / 0.67 GB Notification: Performance of SimCode: time 7.12e-07/0.9382, allocations: 0 / 0.9118 GB, free: 160 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08164/1.02, allocations: 34.19 MB / 0.9452 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/14.38, allocations: 11.75 kB / 0.9452 GB, free: 14.29 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10_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_TestCase10.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase10.pipe 2>&1)