Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7",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.0009472/0.0009472, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0008782/0.0008781, allocations: 190 kB / 16.13 MB, free: 6.656 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.268/1.268, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9202/0.9202, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 64.5 kB / 0.5048 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1838, allocations: 80.93 MB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7): time 0.4915/0.6753, allocations: 155.5 MB / 0.7357 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03078/0.7061, allocations: 21.97 MB / 0.7571 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003492/0.7097, allocations: 58.88 kB / 0.7572 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002046/0.7118, allocations: 1.334 MB / 0.7585 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002734/0.7145, allocations: 0.981 MB / 0.7595 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.7167, allocations: 0.5621 MB / 0.76 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002745/0.7195, allocations: 1.769 MB / 0.7617 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.7212, allocations: 0.8842 MB / 0.7626 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.7227, allocations: 0.6538 MB / 0.7632 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.7244, allocations: 1.179 MB / 0.7644 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003043/0.7248, allocations: 51.94 kB / 0.7644 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.7254, allocations: 104 kB / 0.7645 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005315/0.7259, allocations: 396.4 kB / 0.7649 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009569/0.7269, allocations: 0.6128 MB / 0.7655 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.7285, allocations: 1.533 MB / 0.767 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.7286, allocations: 0 / 0.767 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7286, allocations: 0 / 0.767 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.938e-05/0.7286, allocations: 0 / 0.767 GB, free: 1.648 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.00346/0.7321, allocations: 1.911 MB / 0.7689 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.7321, allocations: 12.03 kB / 0.7689 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001377/0.7323, allocations: 106.7 kB / 0.769 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.7326, allocations: 190.6 kB / 0.7692 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.7339, allocations: 0.8706 MB / 0.77 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.734, allocations: 86.94 kB / 0.7701 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.7342, allocations: 68 kB / 0.7702 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.7355, allocations: 0.7215 MB / 0.7709 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/0.7355, allocations: 3.938 kB / 0.7709 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.648e-05/0.7356, allocations: 31.98 kB / 0.7709 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.7356, allocations: 16 kB / 0.7709 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001134/0.7368, allocations: 0.5398 MB / 0.7715 GB, free: 12.95 MB / 0.5919 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.004895/0.7417, allocations: 3.621 MB / 0.775 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.7431, allocations: 0.6088 MB / 0.7756 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007074/0.7438, allocations: 370.3 kB / 0.7759 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.734e-05/0.7438, allocations: 12.55 kB / 0.776 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007433/0.7446, allocations: 378.9 kB / 0.7763 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=65): time 3.306e-06/0.7446, allocations: 0 / 0.7763 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=65): time 0.004943/0.7496, allocations: 1.777 MB / 0.778 GB, free: 5.844 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.265e-05/0.7496, allocations: 67.78 kB / 0.7781 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002683/0.7523, allocations: 2.255 MB / 0.7803 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.61e-05/0.7524, allocations: 41.69 kB / 0.7804 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006445/0.7531, allocations: 0.7226 MB / 0.7811 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.7533, allocations: 209 kB / 0.7813 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002061/0.7535, allocations: 134.7 kB / 0.7814 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.7536, allocations: 334 kB / 0.7817 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.7543, allocations: 269.8 kB / 0.782 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/0.755, allocations: 428.8 kB / 0.7824 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.7562, allocations: 0.6683 MB / 0.783 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.7562, allocations: 0 / 0.783 GB, free: 0.6094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002353/0.7586, allocations: 1.116 MB / 0.7841 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.7586, allocations: 10.19 kB / 0.7841 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.7586, allocations: 4 kB / 0.7841 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008658/0.7595, allocations: 274.8 kB / 0.7844 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004285/0.7599, allocations: 123.8 kB / 0.7845 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005126/0.7651, allocations: 3.44 MB / 0.7879 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.7659, allocations: 95.39 kB / 0.788 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.487e-05/0.7659, allocations: 35.92 kB / 0.788 GB, free: 11.39 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 25 (assEqu.nFai,$PRE.assEqu.nFai,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition3,$whenCondition1,mean.y_last,$PRE.mean.y_last,assEqu.satisfied,$PRE.assEqu.satisfied,reference.nextTimeEventScaled,$PRE.reference.nextTimeEventScaled,reference.nextTimeEvent,$whenCondition2,setTemp.nextTimeEventScaled,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEvent,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0008279/0.7668, allocations: 462.8 kB / 0.7884 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.767, allocations: 157.9 kB / 0.7886 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003838/0.7674, allocations: 191.7 kB / 0.7888 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.7674, allocations: 11.94 kB / 0.7888 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.7674, allocations: 0 / 0.7888 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.7674, allocations: 0 / 0.7888 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/0.7713, allocations: 2.048 MB / 0.7908 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.7713, allocations: 0 / 0.7908 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000283/0.7716, allocations: 59.95 kB / 0.7908 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008057/0.7724, allocations: 285.2 kB / 0.7911 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.186e-05/0.7725, allocations: 12 kB / 0.7911 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006/0.7785, allocations: 4.768 MB / 0.7958 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7785, allocations: 4.094 kB / 0.7958 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002904/0.7814, allocations: 1.396 MB / 0.7971 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005414/0.782, allocations: 263 kB / 0.7974 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/0.7822, allocations: 23.98 kB / 0.7974 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005269/0.7827, allocations: 39.88 kB / 0.7975 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002/0.783, allocations: 64.45 kB / 0.7975 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/0.783, allocations: 24.11 kB / 0.7975 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002248/0.7853, allocations: 1.639 MB / 0.7991 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7853, allocations: 0 / 0.7991 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001483/0.7868, allocations: 271.5 kB / 0.7994 GB, free: 15.32 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y_last) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004688/0.7915, allocations: 2.334 MB / 0.8017 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002079/0.7936, allocations: 0.8932 MB / 0.8026 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.7936, allocations: 0 / 0.8026 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.7949, allocations: 0.6714 MB / 0.8032 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.7965, allocations: 265.1 kB / 0.8035 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/0.8189, allocations: 12.42 MB / 0.8156 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/0.8207, allocations: 1.318 MB / 0.8169 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005733/0.8213, allocations: 118.4 kB / 0.817 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007387/0.8221, allocations: 0.5422 MB / 0.8175 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.8221, allocations: 0 / 0.8175 GB, free: 12.24 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06367/0.8858, allocations: 27.63 MB / 0.8445 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003248/0.8862, allocations: 282.2 kB / 0.8448 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.447/3.333, allocations: 4 kB / 0.8448 GB, free: 0.582 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase7.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.pipe 2>&1)