Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",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.006971/0.006971, allocations: 98.7 kB / 15.73 MB, free: 6.055 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.001324/0.001324, allocations: 196 kB / 16.68 MB, free: 5.969 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8018/0.8018, allocations: 135.1 MB / 425.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 62.2 kB / 0.5851 GB, free: 21.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1579, allocations: 80.92 MB / 0.6641 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.5071/0.665, allocations: 156.7 MB / 0.8172 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02362/0.6887, allocations: 21.74 MB / 0.8384 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.6907, allocations: 54.94 kB / 0.8385 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.6922, allocations: 1.157 MB / 0.8396 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.6936, allocations: 0.8662 MB / 0.8404 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.6947, allocations: 449.5 kB / 0.8409 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.6958, allocations: 1.271 MB / 0.8421 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007226/0.6965, allocations: 0.6812 MB / 0.8428 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005869/0.6971, allocations: 0.5553 MB / 0.8433 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008443/0.698, allocations: 0.9156 MB / 0.8442 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.735e-05/0.6981, allocations: 65.56 kB / 0.8443 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.6983, allocations: 113 kB / 0.8444 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002473/0.6986, allocations: 319.2 kB / 0.8447 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003953/0.699, allocations: 491 kB / 0.8452 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.7002, allocations: 1.208 MB / 0.8463 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7002, allocations: 3.938 kB / 0.8463 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7002, allocations: 0 / 0.8463 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.597e-05/0.7002, allocations: 0 / 0.8463 GB, free: 2.371 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.002244/0.7025, allocations: 1.517 MB / 0.8478 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.7025, allocations: 11.14 kB / 0.8478 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.993e-05/0.7026, allocations: 89.64 kB / 0.8479 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001607/0.7028, allocations: 138.5 kB / 0.8481 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008112/0.7036, allocations: 0.6761 MB / 0.8487 GB, free: 460 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.7037, allocations: 73.97 kB / 0.8488 GB, free: 408 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.918e-05/0.7038, allocations: 50.52 kB / 0.8488 GB, free: 388 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/0.7048, allocations: 0.5218 MB / 0.8493 GB, free: 52 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.7048, allocations: 0 / 0.8493 GB, free: 52 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.7048, allocations: 17.06 kB / 0.8494 GB, free: 40 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.7049, allocations: 10.69 kB / 0.8494 GB, free: 40 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008297/0.7057, allocations: 418.7 kB / 0.8498 GB, free: 15.84 MB / 0.6231 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.003353/0.7091, allocations: 2.79 MB / 0.8525 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009889/0.7101, allocations: 453.1 kB / 0.8529 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005381/0.7106, allocations: 287.1 kB / 0.8532 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.7107, allocations: 10.97 kB / 0.8532 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005348/0.7112, allocations: 302.1 kB / 0.8535 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=45): time 2.134e-06/0.7112, allocations: 0 / 0.8535 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45): time 0.002848/0.7141, allocations: 1.241 MB / 0.8547 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.7141, allocations: 63.34 kB / 0.8548 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.7158, allocations: 1.755 MB / 0.8565 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.7158, allocations: 41.7 kB / 0.8565 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.7162, allocations: 0.5183 MB / 0.857 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.7164, allocations: 150.8 kB / 0.8572 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.7165, allocations: 98.69 kB / 0.8573 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/0.7166, allocations: 326 kB / 0.8576 GB, free: 8.824 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.7171, allocations: 217 kB / 0.8578 GB, free: 8.613 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.7177, allocations: 328.9 kB / 0.8581 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008979/0.7186, allocations: 0.5144 MB / 0.8586 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.7186, allocations: 0 / 0.8586 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001635/0.7202, allocations: 0.8462 MB / 0.8594 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7203, allocations: 4 kB / 0.8594 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.7203, allocations: 4.125 kB / 0.8594 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005275/0.7208, allocations: 188.7 kB / 0.8596 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.7212, allocations: 87.88 kB / 0.8597 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/0.7247, allocations: 3.007 MB / 0.8626 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004728/0.7251, allocations: 83.64 kB / 0.8627 GB, free: 3.336 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/0.7252, allocations: 20 kB / 0.8627 GB, free: 3.316 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (50): * Single equations (assignments): 49 * 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 {(2,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004981/0.7257, allocations: 387.2 kB / 0.8631 GB, free: 2.93 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/0.7258, allocations: 123.2 kB / 0.8632 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.7261, allocations: 139.7 kB / 0.8634 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.7261, allocations: 8 kB / 0.8634 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.7261, allocations: 4 kB / 0.8634 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.7261, allocations: 3.984 kB / 0.8634 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.7286, allocations: 1.567 MB / 0.8649 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7286, allocations: 0 / 0.8649 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002261/0.7288, allocations: 47.95 kB / 0.8649 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004695/0.7293, allocations: 190.3 kB / 0.8651 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.531e-05/0.7293, allocations: 11.98 kB / 0.8651 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004231/0.7336, allocations: 4.564 MB / 0.8696 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7336, allocations: 0 / 0.8696 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.7354, allocations: 1.063 MB / 0.8706 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.7357, allocations: 224.2 kB / 0.8708 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.422e-05/0.7358, allocations: 12.23 kB / 0.8709 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.7362, allocations: 35.97 kB / 0.8709 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.7363, allocations: 59.86 kB / 0.8709 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.7363, allocations: 15.97 kB / 0.871 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001339/0.7377, allocations: 1.277 MB / 0.8722 GB, free: 9.207 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7377, allocations: 4 kB / 0.8722 GB, free: 9.203 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007582/0.7385, allocations: 203.7 kB / 0.8724 GB, free: 9.004 MB / 0.6387 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,13,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.002968/0.7414, allocations: 1.983 MB / 0.8743 GB, free: 7.18 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.7429, allocations: 0.7233 MB / 0.8751 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7429, allocations: 0 / 0.8751 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008602/0.7438, allocations: 0.5558 MB / 0.8756 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.7448, allocations: 203.2 kB / 0.8758 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.7565, allocations: 8.61 MB / 0.8842 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006923/0.7573, allocations: 1.153 MB / 0.8853 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002903/0.7576, allocations: 84.8 kB / 0.8854 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004202/0.758, allocations: 403.3 kB / 0.8858 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.758, allocations: 0 / 0.8858 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07418/0.8322, allocations: 21.23 MB / 0.9065 GB, free: 6.223 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.7, allocations: 15.92 kB / 0.9065 GB, free: 6.211 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4_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_TestCase4.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)