Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.TestCase4,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4,fileNamePrefix="IDEAS_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.007995/0.007995, allocations: 102 kB / 15.73 MB, free: 6.051 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.002117/0.002117, allocations: 196.6 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7777/0.7777, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 62.48 kB / 0.5808 GB, free: 23.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.144, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4): time 0.4969/0.641, allocations: 156.7 MB / 0.8122 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02423/0.6652, allocations: 21.73 MB / 0.8334 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.6674, allocations: 54.75 kB / 0.8335 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.6689, allocations: 1.157 MB / 0.8346 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00145/0.6704, allocations: 0.8746 MB / 0.8355 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.6716, allocations: 445.1 kB / 0.8359 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001246/0.6728, allocations: 1.266 MB / 0.8371 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007946/0.6736, allocations: 0.6851 MB / 0.8378 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006781/0.6743, allocations: 0.5515 MB / 0.8383 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009277/0.6753, allocations: 0.919 MB / 0.8392 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.74e-05/0.6754, allocations: 64.84 kB / 0.8393 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.6756, allocations: 113.1 kB / 0.8394 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002531/0.6759, allocations: 315.6 kB / 0.8397 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.6763, allocations: 495.8 kB / 0.8402 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.6774, allocations: 1.198 MB / 0.8414 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6774, allocations: 0 / 0.8414 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6774, allocations: 0 / 0.8414 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.738e-05/0.6775, allocations: 0 / 0.8414 GB, free: 8.121 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.002204/0.6797, allocations: 1.481 MB / 0.8428 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.6797, allocations: 9.562 kB / 0.8428 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.923e-05/0.6798, allocations: 90.23 kB / 0.8429 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/0.68, allocations: 134.7 kB / 0.843 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009411/0.681, allocations: 0.6591 MB / 0.8437 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001161/0.6811, allocations: 76.14 kB / 0.8437 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/0.6812, allocations: 44.56 kB / 0.8438 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008718/0.6821, allocations: 0.5201 MB / 0.8443 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.6821, allocations: 2.281 kB / 0.8443 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/0.6821, allocations: 18.56 kB / 0.8443 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.6822, allocations: 13.95 kB / 0.8443 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007928/0.683, allocations: 415.2 kB / 0.8447 GB, free: 5.641 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.003508/0.6865, allocations: 2.798 MB / 0.8475 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/0.6874, allocations: 454.5 kB / 0.8479 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000524/0.688, allocations: 284.8 kB / 0.8482 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.688, allocations: 8.578 kB / 0.8482 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005365/0.6886, allocations: 298.8 kB / 0.8484 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=45): time 2.274e-06/0.6886, allocations: 0 / 0.8484 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=45): time 0.002914/0.6915, allocations: 1.235 MB / 0.8497 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.6916, allocations: 69.12 kB / 0.8497 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.6934, allocations: 1.751 MB / 0.8514 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/0.6935, allocations: 41.7 kB / 0.8515 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004145/0.6939, allocations: 0.518 MB / 0.852 GB, free: 224 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.6941, allocations: 145.9 kB / 0.8521 GB, free: 76 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.6942, allocations: 98.27 kB / 0.8522 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6944, allocations: 326 kB / 0.8525 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.6949, allocations: 221 kB / 0.8527 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.6954, allocations: 324.9 kB / 0.853 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008827/0.6963, allocations: 0.5043 MB / 0.8535 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.6963, allocations: 4 kB / 0.8535 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001654/0.6979, allocations: 0.8472 MB / 0.8544 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.698, allocations: 8 kB / 0.8544 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.698, allocations: 4 kB / 0.8544 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005406/0.6985, allocations: 188.8 kB / 0.8546 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.6989, allocations: 91.88 kB / 0.8546 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003547/0.7024, allocations: 2.996 MB / 0.8576 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.7029, allocations: 75.55 kB / 0.8576 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.703, allocations: 20 kB / 0.8577 GB, free: 10.16 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.0005223/0.7035, allocations: 391.2 kB / 0.858 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.7036, allocations: 114.5 kB / 0.8581 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.7039, allocations: 139.7 kB / 0.8583 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.7039, allocations: 4 kB / 0.8583 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.7039, allocations: 8 kB / 0.8583 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.7039, allocations: 7.984 kB / 0.8583 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002409/0.7063, allocations: 1.572 MB / 0.8598 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7064, allocations: 0 / 0.8598 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.7066, allocations: 39.97 kB / 0.8599 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/0.7071, allocations: 190.7 kB / 0.86 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.039e-05/0.7071, allocations: 15.98 kB / 0.8601 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004605/0.7117, allocations: 4.558 MB / 0.8645 GB, free: 2.789 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.7118, allocations: 3.984 kB / 0.8645 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.7137, allocations: 1.055 MB / 0.8655 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.714, allocations: 215.5 kB / 0.8658 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/0.7141, allocations: 12 kB / 0.8658 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.7144, allocations: 31.97 kB / 0.8658 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.7146, allocations: 51.86 kB / 0.8658 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.6e-05/0.7146, allocations: 19.98 kB / 0.8659 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001368/0.716, allocations: 1.28 MB / 0.8671 GB, free: 80 kB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.716, allocations: 0 / 0.8671 GB, free: 80 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008014/0.7168, allocations: 203.7 kB / 0.8673 GB, free: 15.88 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.003094/0.7199, allocations: 1.985 MB / 0.8692 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.7215, allocations: 0.715 MB / 0.8699 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.7215, allocations: 0 / 0.8699 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009164/0.7224, allocations: 0.5596 MB / 0.8705 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.7234, allocations: 200.5 kB / 0.8707 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.7361, allocations: 8.561 MB / 0.879 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/0.737, allocations: 1.149 MB / 0.8802 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003025/0.7373, allocations: 96.72 kB / 0.8803 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004607/0.7378, allocations: 411.3 kB / 0.8807 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of SimCode: time 6.52e-07/0.7378, allocations: 0 / 0.8807 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05294/0.7907, allocations: 21.22 MB / 0.9014 GB, free: 13.18 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.89, allocations: 8 kB / 0.9014 GB, free: 13.17 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase4.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.pipe 2>&1)