Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.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.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2",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.001105/0.001105, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.043/1.043, allocations: 135.1 MB / 425.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 59.81 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1693, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2): time 0.4309/0.6003, allocations: 156.7 MB / 0.7375 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02602/0.6263, allocations: 21.73 MB / 0.7587 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.629, allocations: 54.97 kB / 0.7588 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/0.6309, allocations: 1.172 MB / 0.7599 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.6328, allocations: 0.8601 MB / 0.7608 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.6342, allocations: 439.4 kB / 0.7612 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.6357, allocations: 1.251 MB / 0.7624 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.6368, allocations: 0.6826 MB / 0.7631 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009854/0.6378, allocations: 0.553 MB / 0.7636 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.6391, allocations: 0.9178 MB / 0.7645 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001999/0.6393, allocations: 64 kB / 0.7646 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003603/0.6396, allocations: 111.9 kB / 0.7647 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003011/0.64, allocations: 320.7 kB / 0.765 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005788/0.6406, allocations: 492.8 kB / 0.7654 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.6418, allocations: 1.179 MB / 0.7666 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.6418, allocations: 0 / 0.7666 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6418, allocations: 0 / 0.7666 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.016e-05/0.6419, allocations: 0 / 0.7666 GB, free: 2.168 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002637/0.6445, allocations: 1.478 MB / 0.768 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6446, allocations: 8.031 kB / 0.768 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001123/0.6447, allocations: 90.7 kB / 0.7681 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.6449, allocations: 135.2 kB / 0.7683 GB, free: 412 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009063/0.6459, allocations: 0.6547 MB / 0.7689 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.646, allocations: 82.62 kB / 0.769 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.483e-05/0.6461, allocations: 47.91 kB / 0.769 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/0.647, allocations: 0.5184 MB / 0.7695 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.647, allocations: 0 / 0.7695 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.6471, allocations: 20 kB / 0.7695 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.6471, allocations: 8 kB / 0.7696 GB, free: 15 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008389/0.6479, allocations: 423.6 kB / 0.77 GB, free: 14.59 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.003606/0.6516, allocations: 2.8 MB / 0.7727 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.6527, allocations: 458.5 kB / 0.7731 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005606/0.6532, allocations: 281.3 kB / 0.7734 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/0.6533, allocations: 12.59 kB / 0.7734 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005893/0.6539, allocations: 294 kB / 0.7737 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=45): time 2.585e-06/0.6539, allocations: 4 kB / 0.7737 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=45): time 0.002931/0.6569, allocations: 1.239 MB / 0.7749 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.6569, allocations: 55.41 kB / 0.775 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.6587, allocations: 1.752 MB / 0.7767 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.6588, allocations: 41.69 kB / 0.7767 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.6592, allocations: 0.5102 MB / 0.7772 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.6593, allocations: 157.8 kB / 0.7774 GB, free: 6.672 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001614/0.6595, allocations: 98.25 kB / 0.7775 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6596, allocations: 330 kB / 0.7778 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.6602, allocations: 213 kB / 0.778 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005567/0.6607, allocations: 336.8 kB / 0.7783 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009336/0.6617, allocations: 0.5063 MB / 0.7788 GB, free: 5.125 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.6617, allocations: 4 kB / 0.7788 GB, free: 5.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001704/0.6634, allocations: 0.8442 MB / 0.7796 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.6634, allocations: 8 kB / 0.7796 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6634, allocations: 4 kB / 0.7796 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.664, allocations: 184.9 kB / 0.7798 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.6644, allocations: 99.81 kB / 0.7799 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003533/0.6679, allocations: 2.993 MB / 0.7828 GB, free: 0.8438 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004754/0.6684, allocations: 67.5 kB / 0.7829 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.657e-05/0.6685, allocations: 24.05 kB / 0.7829 GB, free: 0.7539 MB / 0.5919 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.0004874/0.669, allocations: 391.2 kB / 0.7833 GB, free: 372 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.6691, allocations: 114.5 kB / 0.7834 GB, free: 256 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002361/0.6693, allocations: 139.7 kB / 0.7835 GB, free: 112 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.6694, allocations: 4 kB / 0.7835 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.6694, allocations: 4 kB / 0.7835 GB, free: 104 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.6694, allocations: 7.984 kB / 0.7835 GB, free: 96 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.6719, allocations: 1.566 MB / 0.7851 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.6719, allocations: 0 / 0.7851 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.6721, allocations: 43.91 kB / 0.7851 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004831/0.6726, allocations: 194.3 kB / 0.7853 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.6727, allocations: 15.98 kB / 0.7853 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004589/0.6773, allocations: 4.561 MB / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.6773, allocations: 0 / 0.7898 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002172/0.6795, allocations: 1.057 MB / 0.7908 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003279/0.6799, allocations: 215.6 kB / 0.791 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.68, allocations: 15.98 kB / 0.791 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.6804, allocations: 31.97 kB / 0.791 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.6806, allocations: 55.92 kB / 0.7911 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.212e-05/0.6806, allocations: 16 kB / 0.7911 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001713/0.6823, allocations: 1.281 MB / 0.7924 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6824, allocations: 0 / 0.7924 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009169/0.6833, allocations: 203.7 kB / 0.7926 GB, free: 6.461 MB / 0.6075 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.003332/0.6866, allocations: 1.985 MB / 0.7945 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.6884, allocations: 0.7659 MB / 0.7952 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6884, allocations: 0 / 0.7952 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000937/0.6894, allocations: 0.5522 MB / 0.7958 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.6905, allocations: 200 kB / 0.796 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.7049, allocations: 9.136 MB / 0.8049 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/0.7058, allocations: 1.157 MB / 0.806 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003368/0.7061, allocations: 84.8 kB / 0.8061 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/0.7066, allocations: 403.3 kB / 0.8065 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of SimCode: time 8.82e-07/0.7066, allocations: 0 / 0.8065 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08092/0.7875, allocations: 20.86 MB / 0.8269 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.327/10.11, allocations: 3.953 kB / 0.8269 GB, free: 3.328 MB / 0.6387 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2_fmu --startTime=0 --stopTime=5.184e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Validation_VDI6007_TestCase2.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.pipe 2>&1)