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.005754/0.005754, allocations: 98.64 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.001492/0.001492, allocations: 202.3 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9841/0.9841, allocations: 135.5 MB / 426.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 63.89 kB / 0.5858 GB, free: 3.25 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4217, allocations: 81.03 MB / 0.6649 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2524/0.6741, allocations: 202.1 MB / 0.8622 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.4173/1.091, allocations: 15.11 MB / 0.877 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00381/1.095, allocations: 92.38 kB / 0.8771 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002973/1.098, allocations: 1.304 MB / 0.8784 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006713/1.105, allocations: 2.65 MB / 0.881 GB, free: 1.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005153/1.11, allocations: 2.194 MB / 0.8831 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009013/1.119, allocations: 6.698 MB / 0.8896 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007961/1.127, allocations: 5.514 MB / 0.895 GB, free: 17.22 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005757/1.133, allocations: 2.626 MB / 0.8976 GB, free: 17.22 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006327/1.139, allocations: 3.102 MB / 0.9006 GB, free: 17.13 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001974/1.141, allocations: 0.5731 MB / 0.9012 GB, free: 17.13 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005675/1.147, allocations: 1.939 MB / 0.9031 GB, free: 17.11 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002723/1.15, allocations: 1.613 MB / 0.9046 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.005202/1.155, allocations: 2.656 MB / 0.9072 GB, free: 16.18 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01199/1.167, allocations: 7.78 MB / 0.9148 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.167, allocations: 4.562 kB / 0.9148 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.563e-06/1.167, allocations: 0 / 0.9148 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000239/1.167, allocations: 0.7188 kB / 0.9148 GB, free: 15.15 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.01444/1.182, allocations: 5.778 MB / 0.9205 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.182, allocations: 8.094 kB / 0.9205 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009215/1.183, allocations: 0.5593 MB / 0.921 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/1.198, allocations: 3.026 MB / 0.924 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005974/1.204, allocations: 2.758 MB / 0.9267 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/1.204, allocations: 312.7 kB / 0.927 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001071/1.205, allocations: 408.3 kB / 0.9274 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01425/1.219, allocations: 6.227 MB / 0.9335 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.213e-05/1.219, allocations: 0 / 0.9335 GB, free: 10.2 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004904/1.22, allocations: 178.5 kB / 0.9336 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/1.22, allocations: 139.6 kB / 0.9338 GB, free: 10.18 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01836/1.238, allocations: 7.334 MB / 0.9409 GB, free: 7.66 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.04499/1.283, allocations: 18.79 MB / 0.9593 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/1.296, allocations: 4.804 MB / 0.964 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007681/1.303, allocations: 3.156 MB / 0.967 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/1.305, allocations: 0.701 MB / 0.9677 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007909/1.313, allocations: 2.943 MB / 0.9706 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 6.141e-06/1.313, allocations: 0 / 0.9706 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.05019/1.363, allocations: 16.3 MB / 0.9865 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001901/1.363, allocations: 226.8 kB / 0.9867 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004468/1.368, allocations: 2.9 MB / 0.9896 GB, free: 7.695 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0007785/1.368, allocations: 92.8 kB / 0.9897 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001839/1.37, allocations: 1.719 MB / 0.9913 GB, free: 5.871 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001708/1.372, allocations: 1.208 MB / 0.9925 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/1.373, allocations: 0.5689 MB / 0.9931 GB, free: 4.102 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002441/1.374, allocations: 301.1 kB / 0.9934 GB, free: 3.805 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005869/1.379, allocations: 2.32 MB / 0.9956 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006321/1.386, allocations: 2.679 MB / 0.9982 GB, free: 14.73 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.4036/1.789, allocations: 86.6 MB / 1.083 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/1.789, allocations: 8 kB / 1.083 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.02501/1.814, allocations: 6.17 MB / 1.089 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.874e-05/1.815, allocations: 36.36 kB / 1.089 GB, free: 1.719 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/1.815, allocations: 4 kB / 1.089 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003159/1.818, allocations: 0.8201 MB / 1.09 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007786/1.826, allocations: 0.8539 MB / 1.091 GB, free: 76 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01858/1.844, allocations: 7.518 MB / 1.098 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006576/1.851, allocations: 431.4 kB / 1.098 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/1.852, allocations: 123.9 kB / 1.098 GB, free: 7.902 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.004699/1.857, allocations: 1.138 MB / 1.1 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00193/1.859, allocations: 365.7 kB / 1.1 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0288/1.887, allocations: 6.76 MB / 1.106 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.795e-05/1.888, allocations: 36 kB / 1.106 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.659e-05/1.888, allocations: 12 kB / 1.107 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02227/1.91, allocations: 5.928 MB / 1.112 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04085/1.951, allocations: 11.72 MB / 1.124 GB, free: 13.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-05/1.951, allocations: 8.031 kB / 1.124 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008107/1.959, allocations: 0.854 MB / 1.125 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00291/1.962, allocations: 0.6986 MB / 1.125 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009697/1.963, allocations: 91.94 kB / 1.125 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02031/1.983, allocations: 10.06 MB / 1.135 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-05/1.983, allocations: 11.92 kB / 1.135 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03544/2.019, allocations: 9.829 MB / 1.145 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003603/2.022, allocations: 0.9281 MB / 1.146 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001389/2.024, allocations: 83.88 kB / 1.146 GB, free: 6.809 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005999/2.03, allocations: 434.7 kB / 1.146 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009418/2.031, allocations: 249.5 kB / 1.146 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005017/2.031, allocations: 119.9 kB / 1.147 GB, free: 6.027 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.004894/2.036, allocations: 2.111 MB / 1.149 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.4e-07/2.036, allocations: 0 / 1.149 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.005292/2.041, allocations: 1.097 MB / 1.15 GB, free: 2.82 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.0284/2.07, allocations: 11.35 MB / 1.161 GB, free: 7.777 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01542/2.085, allocations: 5.907 MB / 1.167 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/2.085, allocations: 0 / 1.167 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.008206/2.094, allocations: 3.556 MB / 1.17 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005091/2.099, allocations: 1.021 MB / 1.171 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4169/2.516, allocations: 36.5 MB / 1.207 GB, free: 438.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003344/2.519, allocations: 2.929 MB / 1.209 GB, free: 438 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004482/2.524, allocations: 1.282 MB / 1.211 GB, free: 437.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002649/2.526, allocations: 1.812 MB / 1.213 GB, free: 437.9 MB / 0.9512 GB Notification: Performance of SimCode: time 1.383e-06/2.526, allocations: 2.844 kB / 1.213 GB, free: 437.9 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.151/2.677, allocations: 93.16 MB / 1.303 GB, free: 368.5 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.16/20.83, allocations: 0 / 1.303 GB, free: 368.5 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)