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.007361/0.007361, allocations: 96.7 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.001651/0.001651, allocations: 193.7 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9797/0.9797, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 59.91 kB / 0.5852 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5051, allocations: 80.9 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2314/0.7365, allocations: 202.1 MB / 0.8615 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.5865/1.323, allocations: 15.12 MB / 0.8763 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007606/1.331, allocations: 95.94 kB / 0.8764 GB, free: 1.996 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004616/1.335, allocations: 1.321 MB / 0.8777 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/1.346, allocations: 2.716 MB / 0.8803 GB, free: 1.914 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007012/1.353, allocations: 2.201 MB / 0.8825 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01428/1.367, allocations: 6.709 MB / 0.889 GB, free: 1.848 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/1.377, allocations: 5.516 MB / 0.8944 GB, free: 17.21 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008069/1.386, allocations: 2.661 MB / 0.897 GB, free: 17.2 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007986/1.394, allocations: 3.111 MB / 0.9001 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002956/1.397, allocations: 0.5701 MB / 0.9006 GB, free: 17.12 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007118/1.404, allocations: 1.949 MB / 0.9025 GB, free: 17.1 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.00304/1.407, allocations: 1.613 MB / 0.9041 GB, free: 16.91 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.007841/1.415, allocations: 2.654 MB / 0.9067 GB, free: 16.17 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01662/1.431, allocations: 7.786 MB / 0.9143 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/1.431, allocations: 0 / 0.9143 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.916e-06/1.431, allocations: 1.031 kB / 0.9143 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004321/1.432, allocations: 3.594 kB / 0.9143 GB, free: 15.14 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.01912/1.451, allocations: 5.777 MB / 0.9199 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.451, allocations: 10.25 kB / 0.9199 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001231/1.452, allocations: 0.5609 MB / 0.9205 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/1.468, allocations: 3.029 MB / 0.9235 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007549/1.475, allocations: 2.753 MB / 0.9261 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003015/1.475, allocations: 307.5 kB / 0.9264 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001816/1.477, allocations: 410.5 kB / 0.9268 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01672/1.494, allocations: 6.222 MB / 0.9329 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-05/1.494, allocations: 6.719 kB / 0.9329 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004932/1.495, allocations: 167.5 kB / 0.9331 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/1.495, allocations: 147.1 kB / 0.9332 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01881/1.514, allocations: 7.32 MB / 0.9404 GB, free: 7.898 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.04361/1.557, allocations: 18.81 MB / 0.9587 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01189/1.569, allocations: 4.809 MB / 0.9634 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007311/1.577, allocations: 3.164 MB / 0.9665 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/1.578, allocations: 0.6955 MB / 0.9672 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008922/1.587, allocations: 2.943 MB / 0.9701 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 9.317e-06/1.587, allocations: 3.984 kB / 0.9701 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.05274/1.64, allocations: 16.3 MB / 0.986 GB, free: 11.17 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/1.64, allocations: 220.8 kB / 0.9862 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006146/1.646, allocations: 2.904 MB / 0.989 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0009088/1.647, allocations: 89.7 kB / 0.9891 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002367/1.649, allocations: 1.716 MB / 0.9908 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.002015/1.651, allocations: 1.214 MB / 0.992 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002504/1.654, allocations: 0.5689 MB / 0.9925 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001901/1.654, allocations: 301.1 kB / 0.9928 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006443/1.66, allocations: 2.32 MB / 0.9951 GB, free: 1.777 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006449/1.667, allocations: 2.678 MB / 0.9977 GB, free: 15.03 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.3923/2.059, allocations: 86.6 MB / 1.082 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/2.059, allocations: 0 / 1.082 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01948/2.079, allocations: 6.171 MB / 1.088 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.294e-05/2.079, allocations: 29.7 kB / 1.088 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/2.079, allocations: 8.094 kB / 1.088 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/2.081, allocations: 0.823 MB / 1.089 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004819/2.086, allocations: 0.851 MB / 1.09 GB, free: 384 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/2.098, allocations: 7.523 MB / 1.097 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005077/2.103, allocations: 437.5 kB / 1.098 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009885/2.104, allocations: 123.9 kB / 1.098 GB, free: 8.195 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.004062/2.108, allocations: 1.137 MB / 1.099 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001571/2.11, allocations: 357.7 kB / 1.099 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01835/2.128, allocations: 6.775 MB / 1.106 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-05/2.128, allocations: 36 kB / 1.106 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.138e-05/2.128, allocations: 12 kB / 1.106 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01376/2.142, allocations: 5.913 MB / 1.112 GB, free: 9.879 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02768/2.17, allocations: 11.73 MB / 1.123 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.919e-05/2.17, allocations: 4 kB / 1.123 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004516/2.174, allocations: 0.851 MB / 1.124 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001779/2.176, allocations: 0.7017 MB / 1.125 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005151/2.177, allocations: 99.92 kB / 1.125 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/2.189, allocations: 10.05 MB / 1.135 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.454e-05/2.189, allocations: 7.938 kB / 1.135 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02485/2.214, allocations: 9.819 MB / 1.144 GB, free: 8.141 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004022/2.218, allocations: 0.9357 MB / 1.145 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001872/2.22, allocations: 79.05 kB / 1.145 GB, free: 7.109 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004862/2.225, allocations: 424.3 kB / 1.146 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000927/2.226, allocations: 257.4 kB / 1.146 GB, free: 6.445 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006015/2.227, allocations: 124 kB / 1.146 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00446/2.231, allocations: 2.1 MB / 1.148 GB, free: 4.227 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/2.231, allocations: 4 kB / 1.148 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004691/2.236, allocations: 1.101 MB / 1.149 GB, free: 3.121 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.02484/2.261, allocations: 11.36 MB / 1.16 GB, free: 8.066 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0138/2.274, allocations: 5.9 MB / 1.166 GB, free: 2.16 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/2.275, allocations: 4.5 kB / 1.166 GB, free: 2.156 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.008063/2.283, allocations: 3.57 MB / 1.169 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006826/2.289, allocations: 1.022 MB / 1.17 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5217/2.811, allocations: 36.5 MB / 1.206 GB, free: 438.5 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003737/2.815, allocations: 2.923 MB / 1.209 GB, free: 437.8 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004863/2.82, allocations: 1.277 MB / 1.21 GB, free: 437.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003036/2.823, allocations: 1.812 MB / 1.212 GB, free: 437.7 MB / 0.9512 GB Notification: Performance of SimCode: time 1.222e-06/2.823, allocations: 0 / 1.212 GB, free: 437.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/2.973, allocations: 93.14 MB / 1.303 GB, free: 368.8 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.65/20.62, allocations: 11.69 kB / 1.303 GB, free: 368.8 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance_res.csv --start-time 0 --stop-time 604800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 IDEAS_dev_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)