Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance,fileNamePrefix="IDEAS_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.008818/0.008818, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001884/0.001884, allocations: 196 kB / 16.67 MB, free: 6.352 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7587/0.7587, allocations: 132.2 MB / 422.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 59.89 kB / 0.5809 GB, free: 8.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4022/0.4038, allocations: 80.21 MB / 0.6592 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance): time 0.2108/0.6147, allocations: 202.1 MB / 0.8566 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.4573/1.072, allocations: 15.13 MB / 0.8713 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004268/1.076, allocations: 93.94 kB / 0.8714 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003155/1.08, allocations: 1.319 MB / 0.8727 GB, free: 2.031 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007227/1.087, allocations: 2.724 MB / 0.8754 GB, free: 2.004 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005411/1.092, allocations: 2.2 MB / 0.8775 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009604/1.102, allocations: 6.701 MB / 0.8841 GB, free: 1.953 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008293/1.11, allocations: 5.519 MB / 0.8894 GB, free: 17.31 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006336/1.117, allocations: 2.658 MB / 0.892 GB, free: 17.31 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00638/1.123, allocations: 3.11 MB / 0.8951 GB, free: 17.27 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002316/1.125, allocations: 0.5697 MB / 0.8956 GB, free: 17.27 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006278/1.132, allocations: 1.952 MB / 0.8975 GB, free: 17.25 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002949/1.135, allocations: 1.609 MB / 0.8991 GB, free: 17.06 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.005829/1.14, allocations: 2.659 MB / 0.9017 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.013/1.153, allocations: 7.784 MB / 0.9093 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.153, allocations: 3.938 kB / 0.9093 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.863e-06/1.153, allocations: 0 / 0.9093 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000211/1.154, allocations: 1.062 kB / 0.9093 GB, free: 15.29 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.01419/1.168, allocations: 5.773 MB / 0.915 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/1.168, allocations: 8.125 kB / 0.915 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008572/1.169, allocations: 0.5602 MB / 0.9155 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01489/1.184, allocations: 3.023 MB / 0.9185 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006849/1.191, allocations: 2.767 MB / 0.9212 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/1.191, allocations: 306.1 kB / 0.9215 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001481/1.192, allocations: 402.7 kB / 0.9218 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/1.207, allocations: 6.226 MB / 0.9279 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.165e-05/1.207, allocations: 6.719 kB / 0.9279 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004753/1.208, allocations: 169 kB / 0.9281 GB, free: 10.85 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/1.208, allocations: 140.9 kB / 0.9282 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01812/1.226, allocations: 7.328 MB / 0.9354 GB, free: 8.988 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.04016/1.266, allocations: 18.81 MB / 0.9537 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/1.278, allocations: 4.803 MB / 0.9584 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006962/1.285, allocations: 3.16 MB / 0.9615 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/1.286, allocations: 0.7005 MB / 0.9622 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00714/1.293, allocations: 2.947 MB / 0.9651 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=345): time 6.021e-06/1.293, allocations: 0 / 0.9651 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=347): time 0.04844/1.342, allocations: 16.3 MB / 0.981 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/1.342, allocations: 222.8 kB / 0.9812 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00475/1.346, allocations: 2.907 MB / 0.9841 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0007683/1.347, allocations: 85.7 kB / 0.9841 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/1.349, allocations: 1.722 MB / 0.9858 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001585/1.35, allocations: 1.212 MB / 0.987 GB, free: 8.977 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002055/1.353, allocations: 0.565 MB / 0.9876 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.94e-05/1.353, allocations: 301.1 kB / 0.9878 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005816/1.358, allocations: 2.319 MB / 0.9901 GB, free: 5.785 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006316/1.365, allocations: 2.676 MB / 0.9927 GB, free: 3.031 MB / 0.7481 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.3681/1.733, allocations: 86.61 MB / 1.077 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/1.733, allocations: 0 / 1.077 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.01892/1.752, allocations: 6.171 MB / 1.083 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/1.752, allocations: 33.7 kB / 1.083 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.104e-05/1.752, allocations: 4 kB / 1.083 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/1.754, allocations: 0.8192 MB / 1.084 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00484/1.759, allocations: 0.8548 MB / 1.085 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/1.77, allocations: 7.514 MB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005445/1.775, allocations: 437.2 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/1.776, allocations: 119.9 kB / 1.093 GB, free: 12.21 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.003944/1.78, allocations: 1.135 MB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001417/1.782, allocations: 357.7 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01799/1.8, allocations: 6.775 MB / 1.101 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-05/1.8, allocations: 36 kB / 1.101 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.658e-05/1.8, allocations: 8 kB / 1.101 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01375/1.814, allocations: 5.921 MB / 1.107 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02747/1.841, allocations: 11.74 MB / 1.118 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.617e-05/1.841, allocations: 4.031 kB / 1.118 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004521/1.846, allocations: 0.8549 MB / 1.119 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001668/1.847, allocations: 0.705 MB / 1.12 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000509/1.848, allocations: 91.94 kB / 1.12 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01189/1.86, allocations: 10.06 MB / 1.13 GB, free: 6.062 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.146e-06/1.86, allocations: 7.938 kB / 1.13 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02337/1.883, allocations: 9.822 MB / 1.139 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002943/1.886, allocations: 0.9319 MB / 1.14 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/1.888, allocations: 79.88 kB / 1.14 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004229/1.892, allocations: 432.2 kB / 1.141 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008242/1.893, allocations: 249.4 kB / 1.141 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005507/1.893, allocations: 123.9 kB / 1.141 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.004024/1.897, allocations: 2.111 MB / 1.143 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.7e-07/1.897, allocations: 0 / 1.143 GB, free: 8.207 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00481/1.902, allocations: 1.089 MB / 1.144 GB, free: 7.117 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.02429/1.926, allocations: 11.36 MB / 1.155 GB, free: 12.12 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01453/1.941, allocations: 5.9 MB / 1.161 GB, free: 6.223 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.424e-05/1.941, allocations: 4 kB / 1.161 GB, free: 6.219 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.008361/1.949, allocations: 3.559 MB / 1.164 GB, free: 2.691 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007381/1.957, allocations: 1.022 MB / 1.165 GB, free: 1.742 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4674/2.424, allocations: 36.5 MB / 1.201 GB, free: 441.2 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004135/2.428, allocations: 2.923 MB / 1.204 GB, free: 440.5 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.005181/2.434, allocations: 1.281 MB / 1.205 GB, free: 440.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003033/2.437, allocations: 1.813 MB / 1.207 GB, free: 440.4 MB / 0.9512 GB Notification: Performance of SimCode: time 8.61e-07/2.437, allocations: 0 / 1.207 GB, free: 440.4 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1402/2.577, allocations: 93.15 MB / 1.298 GB, free: 377.2 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.02/20.6, allocations: 14.17 kB / 1.298 GB, free: 377.2 MB / 0.9512 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElementsTraceSubstance.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElementsTraceSubstance.pipe 2>&1)