Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",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.005961/0.005961, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.001398/0.001398, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.82/0.82, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001832, allocations: 71.78 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1568, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1732/0.3301, allocations: 156.7 MB / 0.8122 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3529/0.683, allocations: 21.71 MB / 0.8334 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001966/0.685, allocations: 53.44 kB / 0.8335 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.6869, allocations: 1.165 MB / 0.8346 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.6885, allocations: 0.8586 MB / 0.8355 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.6898, allocations: 440.1 kB / 0.8359 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.6914, allocations: 1.259 MB / 0.8371 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008355/0.6923, allocations: 0.6845 MB / 0.8378 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007528/0.693, allocations: 0.5553 MB / 0.8383 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.694, allocations: 0.9069 MB / 0.8392 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.6942, allocations: 65.72 kB / 0.8393 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003121/0.6945, allocations: 114.2 kB / 0.8394 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.6948, allocations: 318.8 kB / 0.8397 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004721/0.6953, allocations: 497 kB / 0.8402 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.6965, allocations: 1.21 MB / 0.8413 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6965, allocations: 0 / 0.8413 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6965, allocations: 0.875 kB / 0.8413 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.6966, allocations: 0 / 0.8413 GB, free: 2.398 MB / 0.6387 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.00194/0.6985, allocations: 1.52 MB / 0.8428 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.6985, allocations: 11.19 kB / 0.8428 GB, free: 1.492 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.995e-05/0.6986, allocations: 82.94 kB / 0.8429 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.6988, allocations: 139.7 kB / 0.8431 GB, free: 1.379 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000634/0.6994, allocations: 0.6704 MB / 0.8437 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.6995, allocations: 81.25 kB / 0.8438 GB, free: 0.9453 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.6996, allocations: 51.83 kB / 0.8438 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008086/0.7004, allocations: 0.5128 MB / 0.8443 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.7005, allocations: 6.766 kB / 0.8443 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.241e-05/0.7005, allocations: 16.66 kB / 0.8444 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.7005, allocations: 10.78 kB / 0.8444 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000741/0.7013, allocations: 416.3 kB / 0.8448 GB, free: 0.8789 MB / 0.6387 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.002999/0.7043, allocations: 2.724 MB / 0.8474 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008528/0.7051, allocations: 440.8 kB / 0.8478 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.7057, allocations: 305.7 kB / 0.8481 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.7058, allocations: 8.266 kB / 0.8481 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004603/0.7063, allocations: 286.2 kB / 0.8484 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=44): time 2.705e-06/0.7063, allocations: 0 / 0.8484 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=44): time 0.002472/0.7088, allocations: 1.158 MB / 0.8495 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.363e-05/0.7088, allocations: 57.62 kB / 0.8496 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.7105, allocations: 1.767 MB / 0.8513 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.7106, allocations: 41.09 kB / 0.8514 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004215/0.711, allocations: 0.5254 MB / 0.8519 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.7111, allocations: 155 kB / 0.852 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.7113, allocations: 100.4 kB / 0.8521 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7114, allocations: 329.8 kB / 0.8524 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004311/0.7119, allocations: 215 kB / 0.8526 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.7124, allocations: 340.1 kB / 0.853 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008351/0.7132, allocations: 0.5191 MB / 0.8535 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.7133, allocations: 0 / 0.8535 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001414/0.7147, allocations: 0.8141 MB / 0.8543 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.7147, allocations: 7.344 kB / 0.8543 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.7147, allocations: 4.469 kB / 0.8543 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003711/0.7151, allocations: 131.9 kB / 0.8544 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003442/0.7155, allocations: 105.2 kB / 0.8545 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/0.7183, allocations: 2.612 MB / 0.8571 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.7188, allocations: 77.7 kB / 0.8571 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.7188, allocations: 19 kB / 0.8572 GB, free: 12.27 MB / 0.6544 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.0005011/0.7193, allocations: 390.1 kB / 0.8575 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.7195, allocations: 126.6 kB / 0.8576 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.7197, allocations: 139.3 kB / 0.8578 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.7197, allocations: 6.031 kB / 0.8578 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/0.7197, allocations: 1.812 kB / 0.8578 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.7197, allocations: 3 kB / 0.8578 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.7218, allocations: 1.488 MB / 0.8592 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.7218, allocations: 0.8438 kB / 0.8592 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.722, allocations: 49.11 kB / 0.8593 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003502/0.7223, allocations: 162.6 kB / 0.8594 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.7224, allocations: 15.53 kB / 0.8595 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003579/0.726, allocations: 4.034 MB / 0.8634 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.726, allocations: 4.844 kB / 0.8634 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001621/0.7276, allocations: 0.983 MB / 0.8644 GB, free: 8.574 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002788/0.7279, allocations: 218.4 kB / 0.8646 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.636e-05/0.728, allocations: 12.81 kB / 0.8646 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/0.7283, allocations: 30.7 kB / 0.8646 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.7284, allocations: 58.66 kB / 0.8647 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.7285, allocations: 18.08 kB / 0.8647 GB, free: 8.402 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001298/0.7298, allocations: 1.288 MB / 0.8659 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7298, allocations: 4.875 kB / 0.8659 GB, free: 8.285 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007156/0.7305, allocations: 200.6 kB / 0.8661 GB, free: 8.266 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: 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.003462/0.734, allocations: 1.901 MB / 0.868 GB, free: 7.449 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.7353, allocations: 0.6626 MB / 0.8686 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7353, allocations: 0 / 0.8686 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007688/0.7361, allocations: 0.5276 MB / 0.8692 GB, free: 7.074 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009911/0.7371, allocations: 216 kB / 0.8694 GB, free: 7.043 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.7481, allocations: 8.542 MB / 0.8777 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/0.749, allocations: 1.149 MB / 0.8788 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003329/0.7493, allocations: 98.66 kB / 0.8789 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003825/0.7497, allocations: 403.4 kB / 0.8793 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.7497, allocations: 0 / 0.8793 GB, free: 3.828 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05393/0.8036, allocations: 20.85 MB / 0.8997 GB, free: 7.602 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.96, allocations: 10.2 kB / 0.8997 GB, free: 7.598 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3_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_TestCase3.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)