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.008098/0.008098, allocations: 98.67 kB / 15.73 MB, free: 6.039 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.001592/0.001592, allocations: 202.4 kB / 16.68 MB, free: 5.961 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.015/1.015, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 67.88 kB / 0.5857 GB, free: 3.246 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4418/0.4437, allocations: 81.02 MB / 0.6649 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3): time 0.1827/0.6264, allocations: 156.7 MB / 0.8179 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02805/0.6545, allocations: 21.74 MB / 0.8391 GB, free: 13.84 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.6563, allocations: 55.69 kB / 0.8392 GB, free: 13.78 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.6579, allocations: 1.169 MB / 0.8403 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00156/0.6595, allocations: 0.8601 MB / 0.8412 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.6608, allocations: 439.1 kB / 0.8416 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001587/0.6624, allocations: 1.259 MB / 0.8428 GB, free: 10.06 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009515/0.6634, allocations: 0.6865 MB / 0.8435 GB, free: 9.371 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007496/0.6641, allocations: 0.5491 MB / 0.844 GB, free: 8.82 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.6653, allocations: 0.9138 MB / 0.8449 GB, free: 7.906 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.6654, allocations: 68 kB / 0.845 GB, free: 7.84 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002891/0.6657, allocations: 115.9 kB / 0.8451 GB, free: 7.727 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000297/0.666, allocations: 312.7 kB / 0.8454 GB, free: 7.418 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004992/0.6665, allocations: 496.8 kB / 0.8458 GB, free: 6.93 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.6681, allocations: 1.215 MB / 0.847 GB, free: 5.711 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.6681, allocations: 0 / 0.847 GB, free: 5.711 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6681, allocations: 0 / 0.847 GB, free: 5.711 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.6682, allocations: 0 / 0.847 GB, free: 5.711 MB / 0.67 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.002437/0.6706, allocations: 1.521 MB / 0.8485 GB, free: 4.137 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.6706, allocations: 8.031 kB / 0.8485 GB, free: 4.129 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001104/0.6708, allocations: 82.7 kB / 0.8486 GB, free: 4.039 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001898/0.671, allocations: 147.6 kB / 0.8487 GB, free: 3.895 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009137/0.6719, allocations: 0.6636 MB / 0.8494 GB, free: 3.18 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.6721, allocations: 82.61 kB / 0.8495 GB, free: 3.09 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-05/0.6722, allocations: 48 kB / 0.8495 GB, free: 3.043 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.6732, allocations: 0.5184 MB / 0.85 GB, free: 2.516 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.6732, allocations: 0 / 0.85 GB, free: 2.516 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.6733, allocations: 16 kB / 0.85 GB, free: 2.5 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.6733, allocations: 11.94 kB / 0.85 GB, free: 2.488 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009009/0.6742, allocations: 415.7 kB / 0.8504 GB, free: 2.082 MB / 0.67 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.003878/0.6781, allocations: 2.732 MB / 0.8531 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.6791, allocations: 439.9 kB / 0.8535 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00069/0.6798, allocations: 310 kB / 0.8538 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 4.185e-05/0.6799, allocations: 4.328 kB / 0.8538 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005734/0.6805, allocations: 275.8 kB / 0.8541 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=44): time 2.625e-06/0.6805, allocations: 0 / 0.8541 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=44): time 0.002784/0.6833, allocations: 1.163 MB / 0.8552 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.6833, allocations: 59.41 kB / 0.8553 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/0.6853, allocations: 1.768 MB / 0.857 GB, free: 11.03 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.6854, allocations: 37.7 kB / 0.857 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.6859, allocations: 0.5215 MB / 0.8576 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.686, allocations: 154.7 kB / 0.8577 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001576/0.6862, allocations: 98.23 kB / 0.8578 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.6863, allocations: 337.9 kB / 0.8581 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/0.6869, allocations: 209 kB / 0.8583 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000589/0.6875, allocations: 339.1 kB / 0.8586 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000978/0.6884, allocations: 0.5282 MB / 0.8592 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.6885, allocations: 0 / 0.8592 GB, free: 8.715 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001665/0.6901, allocations: 0.8095 MB / 0.86 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.6902, allocations: 8.219 kB / 0.86 GB, free: 7.887 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.6902, allocations: 11.94 kB / 0.86 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004313/0.6906, allocations: 124.8 kB / 0.8601 GB, free: 7.75 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.691, allocations: 103.9 kB / 0.8602 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003048/0.6941, allocations: 2.606 MB / 0.8627 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004496/0.6945, allocations: 75.69 kB / 0.8628 GB, free: 4.836 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.6946, allocations: 24 kB / 0.8628 GB, free: 4.812 MB / 0.6856 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.0005054/0.6951, allocations: 392.2 kB / 0.8632 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.6953, allocations: 127.1 kB / 0.8633 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.6955, allocations: 147.7 kB / 0.8635 GB, free: 4.156 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.6955, allocations: 4 kB / 0.8635 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.6955, allocations: 0 / 0.8635 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.6955, allocations: 4 kB / 0.8635 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.6979, allocations: 1.493 MB / 0.8649 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.698, allocations: 0 / 0.8649 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.6982, allocations: 43.95 kB / 0.865 GB, free: 2.551 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000419/0.6986, allocations: 163.4 kB / 0.8651 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.6987, allocations: 15.94 kB / 0.8651 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3076/1.006, allocations: 4.018 MB / 0.8691 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.006, allocations: 0.6562 kB / 0.8691 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/1.008, allocations: 0.9928 MB / 0.87 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/1.008, allocations: 218.5 kB / 0.8702 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.964e-05/1.008, allocations: 17.38 kB / 0.8703 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003135/1.009, allocations: 26.22 kB / 0.8703 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.009, allocations: 54.59 kB / 0.8703 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/1.009, allocations: 12.8 kB / 0.8704 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00149/1.01, allocations: 1.293 MB / 0.8716 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/1.01, allocations: 0 / 0.8716 GB, free: 190.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007096/1.011, allocations: 197.2 kB / 0.8718 GB, free: 190.8 MB / 0.6856 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.003399/1.015, allocations: 1.922 MB / 0.8737 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001365/1.016, allocations: 0.662 MB / 0.8743 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/1.016, allocations: 0.875 kB / 0.8743 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007575/1.017, allocations: 0.5336 MB / 0.8748 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/1.018, allocations: 187.6 kB / 0.875 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/1.029, allocations: 8.556 MB / 0.8834 GB, free: 185.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/1.03, allocations: 1.15 MB / 0.8845 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0003248/1.03, allocations: 102.1 kB / 0.8846 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/1.03, allocations: 407.6 kB / 0.885 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of SimCode: time 5.91e-07/1.03, allocations: 3.938 kB / 0.885 GB, free: 183.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05113/1.081, allocations: 20.84 MB / 0.9053 GB, free: 172.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.14, allocations: 9.609 kB / 0.9054 GB, free: 172.3 MB / 0.6856 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)