Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.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.Examples.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",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.009212/0.009212, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001746/0.001746, allocations: 201.2 kB / 16.68 MB, free: 5.973 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.5 MB / 426.1 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 71.89 kB / 0.5858 GB, free: 3.152 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.49/0.4919, allocations: 81.02 MB / 0.6649 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.271/0.763, allocations: 202.1 MB / 0.8622 GB, free: 6.043 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.557/1.32, allocations: 15.12 MB / 0.877 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004767/1.325, allocations: 95.69 kB / 0.8771 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003814/1.329, allocations: 1.301 MB / 0.8784 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00833/1.337, allocations: 2.644 MB / 0.881 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005951/1.343, allocations: 2.204 MB / 0.8831 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01022/1.353, allocations: 6.706 MB / 0.8897 GB, free: 1.828 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00873/1.362, allocations: 5.511 MB / 0.895 GB, free: 17.19 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006507/1.369, allocations: 2.619 MB / 0.8976 GB, free: 17.18 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006934/1.376, allocations: 3.101 MB / 0.9006 GB, free: 17.1 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002315/1.378, allocations: 0.5712 MB / 0.9012 GB, free: 17.1 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006272/1.384, allocations: 1.941 MB / 0.9031 GB, free: 17.08 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002444/1.387, allocations: 1.615 MB / 0.9047 GB, free: 16.89 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.004715/1.391, allocations: 2.655 MB / 0.9072 GB, free: 16.15 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0117/1.403, allocations: 7.785 MB / 0.9148 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.403, allocations: 1.438 kB / 0.9148 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.723e-06/1.403, allocations: 3.188 kB / 0.9149 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002763/1.404, allocations: 0.8438 kB / 0.9149 GB, free: 15.12 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01598/1.42, allocations: 5.772 MB / 0.9205 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/1.42, allocations: 8.125 kB / 0.9205 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001832/1.421, allocations: 0.5639 MB / 0.921 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/1.437, allocations: 3.025 MB / 0.924 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006089/1.443, allocations: 2.757 MB / 0.9267 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/1.443, allocations: 313.1 kB / 0.927 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001387/1.444, allocations: 406.8 kB / 0.9274 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/1.461, allocations: 6.229 MB / 0.9335 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/1.461, allocations: 6.641 kB / 0.9335 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005766/1.462, allocations: 164.6 kB / 0.9336 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/1.462, allocations: 148.6 kB / 0.9338 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/1.481, allocations: 7.33 MB / 0.9409 GB, free: 7.594 MB / 0.7012 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.04244/1.523, allocations: 18.8 MB / 0.9593 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/1.535, allocations: 4.804 MB / 0.964 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007539/1.543, allocations: 3.154 MB / 0.9671 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/1.544, allocations: 0.7031 MB / 0.9677 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008391/1.553, allocations: 2.939 MB / 0.9706 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 7.444e-06/1.553, allocations: 0 / 0.9706 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.05529/1.608, allocations: 16.31 MB / 0.9865 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002055/1.608, allocations: 218.6 kB / 0.9868 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005779/1.614, allocations: 2.907 MB / 0.9896 GB, free: 7.598 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001108/1.615, allocations: 85.7 kB / 0.9897 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002241/1.618, allocations: 1.723 MB / 0.9914 GB, free: 5.773 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002492/1.62, allocations: 1.21 MB / 0.9925 GB, free: 4.582 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003404/1.624, allocations: 0.565 MB / 0.9931 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.624, allocations: 301.1 kB / 0.9934 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007106/1.631, allocations: 2.316 MB / 0.9956 GB, free: 1.391 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008472/1.639, allocations: 2.684 MB / 0.9983 GB, free: 14.63 MB / 0.7637 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start (sinAir.p = thermalZoneFourElements.volAir.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3904/2.03, allocations: 86.6 MB / 1.083 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/2.03, allocations: 4 kB / 1.083 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01756/2.048, allocations: 6.174 MB / 1.089 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/2.048, allocations: 33.7 kB / 1.089 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/2.048, allocations: 0 / 1.089 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/2.05, allocations: 0.8201 MB / 1.09 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005212/2.055, allocations: 0.854 MB / 1.091 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/2.068, allocations: 7.526 MB / 1.098 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004882/2.073, allocations: 433.1 kB / 1.098 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009601/2.074, allocations: 123.9 kB / 1.098 GB, free: 7.809 MB / 0.8575 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: thermalZoneFourElements.volAir.dynBal.medium.p = thermalZoneFourElements.volAir.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.intGai.nextTimeEvent,$whenCondition2,$PRE.traSub.count,$PRE.traSub.T_start,traSub.count,traSub.T_start,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 1 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003604/2.077, allocations: 1.145 MB / 1.1 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001398/2.079, allocations: 361.7 kB / 1.1 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02005/2.099, allocations: 6.758 MB / 1.106 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.108e-05/2.099, allocations: 36 kB / 1.107 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.997e-05/2.099, allocations: 8 kB / 1.107 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01691/2.116, allocations: 5.925 MB / 1.112 GB, free: 9.496 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03302/2.149, allocations: 11.72 MB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.073e-05/2.149, allocations: 8.469 kB / 1.124 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004958/2.154, allocations: 0.8548 MB / 1.125 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001934/2.156, allocations: 0.698 MB / 1.125 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009113/2.157, allocations: 91.94 kB / 1.125 GB, free: 12.11 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/2.171, allocations: 10.05 MB / 1.135 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.849e-05/2.171, allocations: 11.03 kB / 1.135 GB, free: 1.68 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02591/2.197, allocations: 9.818 MB / 1.145 GB, free: 7.762 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003079/2.2, allocations: 0.9397 MB / 1.146 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001499/2.201, allocations: 87.88 kB / 1.146 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004563/2.206, allocations: 431 kB / 1.146 GB, free: 6.297 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/2.207, allocations: 253.5 kB / 1.146 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006656/2.208, allocations: 119.9 kB / 1.147 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.004135/2.212, allocations: 2.107 MB / 1.149 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.793e-06/2.212, allocations: 0 / 1.149 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.005263/2.217, allocations: 1.104 MB / 1.15 GB, free: 2.727 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.mXi[1],thermalZoneFourElements.volAir.dynBal.mC[1],thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.thermCapExt[1].T) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled,traSub.T_start,traSub.count) * Number of discrete states: 5 (intGai.nextTimeEvent,traSub.count,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.03094/2.248, allocations: 11.34 MB / 1.161 GB, free: 7.695 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01699/2.265, allocations: 5.907 MB / 1.167 GB, free: 1.781 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/2.265, allocations: 3.938 kB / 1.167 GB, free: 1.777 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01065/2.276, allocations: 3.554 MB / 1.17 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008484/2.284, allocations: 1.019 MB / 1.171 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5049/2.789, allocations: 36.52 MB / 1.207 GB, free: 439 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004586/2.794, allocations: 2.927 MB / 1.21 GB, free: 438.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00495/2.799, allocations: 1.277 MB / 1.211 GB, free: 438.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002947/2.802, allocations: 1.807 MB / 1.213 GB, free: 438.2 MB / 0.9512 GB Notification: Performance of SimCode: time 1.122e-06/2.802, allocations: 1.062 kB / 1.213 GB, free: 438.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1759/2.978, allocations: 93.15 MB / 1.303 GB, free: 368.3 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.39/20.37, allocations: 11.33 kB / 1.303 GB, free: 368.3 MB / 0.9512 GB (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)