Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1",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.007694/0.007695, allocations: 99.86 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.001596/0.001596, allocations: 192.2 kB / 16.67 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7966/0.7966, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.03 kB / 0.5808 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1667, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1): time 0.5772/0.744, allocations: 156.7 MB / 0.8122 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02611/0.7701, allocations: 21.74 MB / 0.8334 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.773, allocations: 51.03 kB / 0.8335 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001517/0.7746, allocations: 1.16 MB / 0.8346 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.7762, allocations: 0.8662 MB / 0.8355 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.7774, allocations: 449.3 kB / 0.8359 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.7787, allocations: 1.263 MB / 0.8371 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008013/0.7795, allocations: 0.69 MB / 0.8378 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007461/0.7803, allocations: 0.5551 MB / 0.8383 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009892/0.7813, allocations: 0.9146 MB / 0.8392 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.7814, allocations: 65.84 kB / 0.8393 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002718/0.7817, allocations: 117.2 kB / 0.8394 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002707/0.782, allocations: 311.4 kB / 0.8397 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.7824, allocations: 495.5 kB / 0.8402 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.7836, allocations: 1.207 MB / 0.8414 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7836, allocations: 0 / 0.8414 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7836, allocations: 0 / 0.8414 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.7837, allocations: 0 / 0.8414 GB, free: 8.078 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.002232/0.7859, allocations: 1.525 MB / 0.8429 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.786, allocations: 9.594 kB / 0.8429 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.7861, allocations: 86.2 kB / 0.8429 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.7863, allocations: 139.3 kB / 0.8431 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009036/0.7872, allocations: 0.6763 MB / 0.8437 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.7873, allocations: 71.5 kB / 0.8438 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.805e-05/0.7874, allocations: 52.81 kB / 0.8439 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009621/0.7884, allocations: 0.5121 MB / 0.8444 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.7884, allocations: 2.469 kB / 0.8444 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.7885, allocations: 18.22 kB / 0.8444 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.7885, allocations: 13.03 kB / 0.8444 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000796/0.7893, allocations: 418.4 kB / 0.8448 GB, free: 5.539 MB / 0.6075 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.003343/0.7926, allocations: 2.73 MB / 0.8475 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008999/0.7936, allocations: 433 kB / 0.8479 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.7942, allocations: 314.5 kB / 0.8482 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.476e-05/0.7942, allocations: 5.422 kB / 0.8482 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005129/0.7948, allocations: 282.8 kB / 0.8484 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=44): time 1.883e-06/0.7948, allocations: 4 kB / 0.8484 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=44): time 0.002493/0.7973, allocations: 1.148 MB / 0.8496 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.7973, allocations: 60.84 kB / 0.8496 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.799, allocations: 1.764 MB / 0.8513 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.7991, allocations: 37.7 kB / 0.8514 GB, free: 0.8008 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.7994, allocations: 0.5254 MB / 0.8519 GB, free: 276 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.7996, allocations: 158.7 kB / 0.852 GB, free: 116 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001514/0.7997, allocations: 102.2 kB / 0.8521 GB, free: 8 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7999, allocations: 325.9 kB / 0.8525 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004717/0.8003, allocations: 217 kB / 0.8527 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005182/0.8009, allocations: 331.2 kB / 0.853 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008423/0.8017, allocations: 0.5163 MB / 0.8535 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.8017, allocations: 4 kB / 0.8535 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001472/0.8032, allocations: 0.8212 MB / 0.8543 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.8032, allocations: 8 kB / 0.8543 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.8032, allocations: 7.938 kB / 0.8543 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003554/0.8036, allocations: 133 kB / 0.8544 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/0.804, allocations: 103.8 kB / 0.8545 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002558/0.8066, allocations: 2.602 MB / 0.8571 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.807, allocations: 75.66 kB / 0.8571 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.8071, allocations: 20 kB / 0.8572 GB, free: 10.62 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (54): * Single equations (assignments): 53 * 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 {(1,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005021/0.8076, allocations: 391.2 kB / 0.8575 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.8077, allocations: 127.1 kB / 0.8577 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.8079, allocations: 143.7 kB / 0.8578 GB, free: 9.965 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.808, allocations: 4 kB / 0.8578 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.808, allocations: 4 kB / 0.8578 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.808, allocations: 7.984 kB / 0.8578 GB, free: 9.949 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002192/0.8102, allocations: 1.489 MB / 0.8593 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.8102, allocations: 0 / 0.8593 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.8104, allocations: 43.91 kB / 0.8593 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003822/0.8108, allocations: 169.1 kB / 0.8595 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.8109, allocations: 8 kB / 0.8595 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003461/0.8143, allocations: 4.033 MB / 0.8634 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.8143, allocations: 3.938 kB / 0.8634 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.816, allocations: 0.9859 MB / 0.8644 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002771/0.8163, allocations: 220.2 kB / 0.8646 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.831e-05/0.8164, allocations: 12 kB / 0.8646 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/0.8167, allocations: 27.97 kB / 0.8646 GB, free: 2.586 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.8168, allocations: 59.81 kB / 0.8647 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.8169, allocations: 19.98 kB / 0.8647 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00129/0.8182, allocations: 1.285 MB / 0.866 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8182, allocations: 0 / 0.866 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000711/0.8189, allocations: 199.7 kB / 0.8661 GB, free: 1.023 MB / 0.6231 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,12,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.002831/0.8217, allocations: 1.921 MB / 0.868 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.8231, allocations: 0.661 MB / 0.8687 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8232, allocations: 0 / 0.8687 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008104/0.824, allocations: 0.5325 MB / 0.8692 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009559/0.8249, allocations: 201 kB / 0.8694 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.8363, allocations: 8.539 MB / 0.8777 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007226/0.837, allocations: 1.153 MB / 0.8788 GB, free: 3.922 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003319/0.8374, allocations: 100.8 kB / 0.8789 GB, free: 3.82 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004487/0.8378, allocations: 407.3 kB / 0.8793 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of SimCode: time 1.343e-06/0.8378, allocations: 0 / 0.8793 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05019/0.888, allocations: 20.84 MB / 0.8997 GB, free: 14.85 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.98, allocations: 17.02 kB / 0.8997 GB, free: 14.84 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1_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_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase1.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.pipe 2>&1)