Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.TestCase3,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3,fileNamePrefix="IDEAS_dev_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.007642/0.007642, allocations: 102.8 kB / 15.73 MB, free: 5.992 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.001868/0.001868, allocations: 193.2 kB / 16.67 MB, free: 5.914 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7726/0.7726, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 70.16 kB / 0.5851 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1541, allocations: 80.92 MB / 0.6641 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.5526/0.7068, allocations: 156.7 MB / 0.8172 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02487/0.7317, allocations: 21.74 MB / 0.8384 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.7341, allocations: 54.97 kB / 0.8385 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.7356, allocations: 1.163 MB / 0.8396 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.737, allocations: 0.8624 MB / 0.8404 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.7382, allocations: 447.4 kB / 0.8409 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001234/0.7395, allocations: 1.261 MB / 0.8421 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007081/0.7402, allocations: 0.6775 MB / 0.8428 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006015/0.7408, allocations: 0.563 MB / 0.8433 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008681/0.7417, allocations: 0.9146 MB / 0.8442 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.777e-05/0.7418, allocations: 65.31 kB / 0.8443 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.742, allocations: 113.2 kB / 0.8444 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.7422, allocations: 315.3 kB / 0.8447 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.7426, allocations: 491.7 kB / 0.8451 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.7437, allocations: 1.198 MB / 0.8463 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7437, allocations: 4 kB / 0.8463 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7437, allocations: 0 / 0.8463 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.7437, allocations: 0 / 0.8463 GB, free: 2.34 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.002171/0.7459, allocations: 1.478 MB / 0.8478 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.746, allocations: 11.08 kB / 0.8478 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.769e-05/0.7461, allocations: 77.84 kB / 0.8478 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.7463, allocations: 134.6 kB / 0.848 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000817/0.7471, allocations: 0.6709 MB / 0.8486 GB, free: 488 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.7472, allocations: 74.56 kB / 0.8487 GB, free: 436 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.413e-05/0.7473, allocations: 45.59 kB / 0.8487 GB, free: 420 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008372/0.7481, allocations: 0.5191 MB / 0.8493 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.7482, allocations: 0 / 0.8493 GB, free: 88 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.077e-05/0.7482, allocations: 16.59 kB / 0.8493 GB, free: 76 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.7482, allocations: 14.52 kB / 0.8493 GB, free: 72 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007621/0.749, allocations: 418.5 kB / 0.8497 GB, free: 15.87 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.003073/0.7521, allocations: 2.725 MB / 0.8523 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008856/0.753, allocations: 450.5 kB / 0.8528 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005977/0.7536, allocations: 304.3 kB / 0.8531 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.7537, allocations: 3.141 kB / 0.8531 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005312/0.7542, allocations: 285.9 kB / 0.8533 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=44): time 2.104e-06/0.7542, allocations: 0 / 0.8533 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of matching and sorting (n=44): time 0.002477/0.7567, allocations: 1.142 MB / 0.8545 GB, free: 12 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/0.7568, allocations: 67.33 kB / 0.8545 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.7585, allocations: 1.76 MB / 0.8562 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.7586, allocations: 37.7 kB / 0.8563 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.759, allocations: 0.5289 MB / 0.8568 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.7591, allocations: 146 kB / 0.8569 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.7593, allocations: 94.25 kB / 0.857 GB, free: 9.332 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.7594, allocations: 333.9 kB / 0.8573 GB, free: 9 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.7598, allocations: 213 kB / 0.8575 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.7603, allocations: 339.1 kB / 0.8579 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008117/0.7612, allocations: 0.5089 MB / 0.8584 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.7612, allocations: 8 kB / 0.8584 GB, free: 7.848 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001424/0.7626, allocations: 0.8049 MB / 0.8592 GB, free: 7.031 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.7626, allocations: 8 kB / 0.8592 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.7626, allocations: 8.156 kB / 0.8592 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.763, allocations: 136.7 kB / 0.8593 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003598/0.7634, allocations: 99.88 kB / 0.8594 GB, free: 6.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.7661, allocations: 2.603 MB / 0.8619 GB, free: 4.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/0.7665, allocations: 71.44 kB / 0.862 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.703e-05/0.7665, allocations: 23.98 kB / 0.862 GB, free: 3.949 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.000482/0.767, allocations: 396.1 kB / 0.8624 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.7672, allocations: 118.4 kB / 0.8625 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.7674, allocations: 135.7 kB / 0.8626 GB, free: 3.305 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.7674, allocations: 4 kB / 0.8627 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.7674, allocations: 4 kB / 0.8627 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.7674, allocations: 3.984 kB / 0.8627 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.7695, allocations: 1.501 MB / 0.8641 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.7696, allocations: 4 kB / 0.8641 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.7698, allocations: 39.97 kB / 0.8642 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/0.7702, allocations: 164.6 kB / 0.8643 GB, free: 1.527 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.7702, allocations: 19.92 kB / 0.8643 GB, free: 1.508 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003466/0.7737, allocations: 4.021 MB / 0.8683 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.7737, allocations: 3.938 kB / 0.8683 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.7754, allocations: 0.9853 MB / 0.8692 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.7756, allocations: 219.5 kB / 0.8694 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/0.7757, allocations: 8 kB / 0.8695 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.776, allocations: 27.97 kB / 0.8695 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.7761, allocations: 59.81 kB / 0.8695 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.7762, allocations: 23.98 kB / 0.8696 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001338/0.7775, allocations: 1.289 MB / 0.8708 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7775, allocations: 0 / 0.8708 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007211/0.7783, allocations: 191.7 kB / 0.871 GB, free: 10.37 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,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.00278/0.7811, allocations: 1.909 MB / 0.8729 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.7824, allocations: 0.6541 MB / 0.8735 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.7824, allocations: 8.25 kB / 0.8735 GB, free: 7.941 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007439/0.7832, allocations: 0.5281 MB / 0.874 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009107/0.7841, allocations: 204.5 kB / 0.8742 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/0.7949, allocations: 8.496 MB / 0.8825 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007148/0.7957, allocations: 1.146 MB / 0.8836 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003056/0.796, allocations: 100.7 kB / 0.8837 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.7964, allocations: 407.3 kB / 0.8841 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of SimCode: time 3.426e-06/0.7964, allocations: 4 kB / 0.8841 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04757/0.844, allocations: 20.83 MB / 0.9045 GB, free: 8.219 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.97, allocations: 22.16 kB / 0.9045 GB, free: 8.199 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase3.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.pipe 2>&1)