Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="Buildings_9_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.001007/0.001007, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001055/0.001055, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.3 MB / 0.6653 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.000334, allocations: 11.98 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7968/0.7971, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1764/0.9736, allocations: 135.7 MB / 1.086 GB, free: 8.105 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03439/1.008, allocations: 22.73 MB / 1.108 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003731/1.012, allocations: 63.62 kB / 1.108 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003249/1.015, allocations: 0.9373 MB / 1.109 GB, free: 332 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008608/1.024, allocations: 2.141 MB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006077/1.03, allocations: 1.666 MB / 1.113 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.007292/1.037, allocations: 2.89 MB / 1.116 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005918/1.043, allocations: 2.923 MB / 1.119 GB, free: 6.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003282/1.046, allocations: 1.327 MB / 1.12 GB, free: 5.348 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003747/1.05, allocations: 1.649 MB / 1.122 GB, free: 3.691 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008537/1.051, allocations: 104 kB / 1.122 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/1.053, allocations: 0.5775 MB / 1.122 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009021/1.054, allocations: 0.7004 MB / 1.123 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001144/1.056, allocations: 0.6364 MB / 1.124 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006112/1.062, allocations: 4.364 MB / 1.128 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.062, allocations: 3.938 kB / 1.128 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.705e-06/1.062, allocations: 0 / 1.128 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001925/1.062, allocations: 0 / 1.128 GB, free: 13.29 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 815 * Number of variables: 815 Notification: Performance of Generate backend data structure: time 0.01107/1.073, allocations: 3.923 MB / 1.132 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 7.242e-05/1.073, allocations: 8.031 kB / 1.132 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002071/1.075, allocations: 458.8 kB / 1.132 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01364/1.089, allocations: 2.885 MB / 1.135 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005713/1.095, allocations: 2.175 MB / 1.137 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/1.095, allocations: 246.3 kB / 1.137 GB, free: 3.418 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008407/1.096, allocations: 316 kB / 1.138 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/1.108, allocations: 5.146 MB / 1.143 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.536e-05/1.108, allocations: 7.906 kB / 1.143 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003697/1.108, allocations: 132 kB / 1.143 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.796e-05/1.108, allocations: 76 kB / 1.143 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/1.123, allocations: 6.354 MB / 1.149 GB, free: 7.301 MB / 0.9044 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.03113/1.154, allocations: 14.16 MB / 1.163 GB, free: 8.707 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/1.166, allocations: 4.739 MB / 1.167 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/1.167, allocations: 0.6696 MB / 1.168 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007278/1.175, allocations: 2.617 MB / 1.171 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of pre-optimization done (n=278): time 6.943e-06/1.175, allocations: 4 kB / 1.171 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of matching and sorting (n=278): time 0.02294/1.198, allocations: 7.399 MB / 1.178 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/1.198, allocations: 210.1 kB / 1.178 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00462/1.203, allocations: 2.429 MB / 1.18 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0008253/1.203, allocations: 77.69 kB / 1.181 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001493/1.205, allocations: 1.353 MB / 1.182 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001719/1.207, allocations: 0.9049 MB / 1.183 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006786/1.207, allocations: 52 kB / 1.183 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003529/1.208, allocations: 410.9 kB / 1.183 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005644/1.213, allocations: 2.003 MB / 1.185 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005831/1.219, allocations: 2.32 MB / 1.187 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00547/1.225, allocations: 2.129 MB / 1.189 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.501e-05/1.225, allocations: 4 kB / 1.189 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.01395/1.239, allocations: 4.933 MB / 1.194 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/1.239, allocations: 8 kB / 1.194 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.239, allocations: 4 kB / 1.194 GB, free: 7.895 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006843/1.239, allocations: 238.6 kB / 1.195 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004728/1.244, allocations: 0.8385 MB / 1.195 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004126/1.248, allocations: 3.181 MB / 1.198 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004126/1.253, allocations: 0.583 MB / 1.199 GB, free: 2.918 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006653/1.253, allocations: 111.9 kB / 1.199 GB, free: 2.809 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition1,$PRE.intGai.nextTimeEvent,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (292): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002434/1.256, allocations: 0.9422 MB / 1.2 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008639/1.257, allocations: 272.6 kB / 1.2 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/1.27, allocations: 5.647 MB / 1.206 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.761e-05/1.27, allocations: 28.11 kB / 1.206 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.27, allocations: 11.94 kB / 1.206 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-05/1.271, allocations: 11.95 kB / 1.206 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006198/1.277, allocations: 3.691 MB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.408e-05/1.277, allocations: 0 / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004027/1.281, allocations: 0.784 MB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008445/1.282, allocations: 267.4 kB / 1.211 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004327/1.282, allocations: 79.92 kB / 1.211 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005363/1.288, allocations: 4.871 MB / 1.215 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.288, allocations: 0 / 1.215 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01998/1.308, allocations: 8.022 MB / 1.223 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002942/1.311, allocations: 0.8832 MB / 1.224 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/1.312, allocations: 59.98 kB / 1.224 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003811/1.316, allocations: 448.7 kB / 1.225 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000658/1.316, allocations: 213.9 kB / 1.225 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000486/1.317, allocations: 107.9 kB / 1.225 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002914/1.32, allocations: 1.769 MB / 1.227 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/1.32, allocations: 4 kB / 1.227 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003556/1.323, allocations: 1.021 MB / 1.228 GB, free: 5.137 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 16,(1,100.0%) 3} * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.02083/1.344, allocations: 9.525 MB / 1.237 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01218/1.356, allocations: 4.839 MB / 1.242 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.356, allocations: 0 / 1.242 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006808/1.363, allocations: 2.773 MB / 1.244 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003533/1.367, allocations: 0.5564 MB / 1.245 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5929/1.96, allocations: 27.73 MB / 1.272 GB, free: 265.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/1.962, allocations: 2.518 MB / 1.274 GB, free: 263.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004794/1.967, allocations: 1.136 MB / 1.276 GB, free: 263.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002444/1.969, allocations: 1.444 MB / 1.277 GB, free: 262.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.362e-06/1.969, allocations: 0.9688 kB / 1.277 GB, free: 262.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09744/2.067, allocations: 69.99 MB / 1.345 GB, free: 201.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001657/2.067, allocations: 279.6 kB / 1.346 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.173/6.24, allocations: 2.953 kB / 1.346 GB, free: 200.8 MB / 0.9981 GB (rm -f Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement.fmu > Buildings_9_Buildings.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)