Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009368/0.0009369, allocations: 89.58 kB / 15.06 MB, free: 1.094 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.001032/0.001032, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.791/1.791, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005646/0.0005646, allocations: 17.28 kB / 0.6737 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2554, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8805/1.136, allocations: 313.2 MB / 1.093 GB, free: 2.59 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04814/1.184, allocations: 36.43 MB / 1.129 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006344/1.19, allocations: 111.2 kB / 1.129 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006215/1.197, allocations: 1.475 MB / 1.13 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01493/1.212, allocations: 4.174 MB / 1.134 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007458/1.219, allocations: 2.207 MB / 1.137 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01789/1.237, allocations: 9.661 MB / 1.146 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006365/1.243, allocations: 2.889 MB / 1.149 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01215/1.256, allocations: 3.734 MB / 1.152 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005411/1.261, allocations: 2.427 MB / 1.155 GB, free: 3.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0008134/1.262, allocations: 127.9 kB / 1.155 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008849/1.271, allocations: 2.869 MB / 1.158 GB, free: 308 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001933/1.273, allocations: 0.9653 MB / 1.159 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001839/1.275, allocations: 0.7498 MB / 1.159 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008241/1.283, allocations: 5.039 MB / 1.164 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.283, allocations: 0 / 1.164 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.063e-06/1.283, allocations: 0 / 1.164 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001659/1.283, allocations: 0 / 1.164 GB, free: 9.523 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.007981/1.291, allocations: 3.706 MB / 1.168 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.291, allocations: 12.03 kB / 1.168 GB, free: 5.723 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007657/1.299, allocations: 1.467 MB / 1.169 GB, free: 4.25 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006063/1.305, allocations: 2.557 MB / 1.172 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001272/1.306, allocations: 0.5409 MB / 1.172 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004834/1.307, allocations: 256 kB / 1.173 GB, free: 0.8125 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007558/1.314, allocations: 3.472 MB / 1.176 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.674e-05/1.314, allocations: 7.953 kB / 1.176 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002382/1.315, allocations: 100 kB / 1.176 GB, free: 13.13 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/1.315, allocations: 108.9 kB / 1.176 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006955/1.322, allocations: 3.197 MB / 1.179 GB, free: 9.812 MB / 0.8887 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.0246/1.346, allocations: 14.43 MB / 1.193 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003868/1.35, allocations: 1.881 MB / 1.195 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001748/1.352, allocations: 0.8184 MB / 1.196 GB, free: 7.605 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004671/1.352, allocations: 312.3 kB / 1.196 GB, free: 7.242 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002029/1.354, allocations: 0.962 MB / 1.197 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001513/1.356, allocations: 142.3 kB / 1.197 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=108): time 3.266e-06/1.356, allocations: 0 / 1.197 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of matching and sorting (n=108): time 0.00651/1.363, allocations: 2.533 MB / 1.2 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/1.363, allocations: 119.8 kB / 1.2 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0047/1.367, allocations: 2.826 MB / 1.203 GB, free: 0.582 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002174/1.368, allocations: 49.7 kB / 1.203 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.369, allocations: 1.502 MB / 1.204 GB, free: 15.01 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004679/1.37, allocations: 378.5 kB / 1.205 GB, free: 14.64 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.436e-05/1.37, allocations: 28 kB / 1.205 GB, free: 14.61 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001763/1.37, allocations: 361.9 kB / 1.205 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/1.372, allocations: 0.9055 MB / 1.206 GB, free: 13.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/1.375, allocations: 1.404 MB / 1.207 GB, free: 11.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/1.377, allocations: 1.031 MB / 1.208 GB, free: 10.7 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/1.377, allocations: 0 / 1.208 GB, free: 10.7 MB / 0.92 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006102/1.383, allocations: 2.55 MB / 1.211 GB, free: 8.125 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003434/1.384, allocations: 471.6 kB / 1.211 GB, free: 7.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/1.384, allocations: 12 kB / 1.211 GB, free: 7.488 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.682e-05/1.384, allocations: 20 kB / 1.211 GB, free: 7.469 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/1.386, allocations: 467.3 kB / 1.212 GB, free: 7.012 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.107e-05/1.386, allocations: 27.88 kB / 1.212 GB, free: 6.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/1.389, allocations: 0.5023 MB / 1.212 GB, free: 6.484 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/1.39, allocations: 75.97 kB / 1.212 GB, free: 6.41 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/1.39, allocations: 11.94 kB / 1.212 GB, free: 6.398 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005226/1.395, allocations: 2.268 MB / 1.215 GB, free: 4.125 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/1.395, allocations: 8 kB / 1.215 GB, free: 4.117 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/1.395, allocations: 24 kB / 1.215 GB, free: 4.094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/1.397, allocations: 463.8 kB / 1.215 GB, free: 3.641 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.461e-05/1.397, allocations: 23.92 kB / 1.215 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003544/1.4, allocations: 436.1 kB / 1.215 GB, free: 3.191 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/1.401, allocations: 75.91 kB / 1.216 GB, free: 3.117 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 177 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00187/1.403, allocations: 0.8636 MB / 1.216 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007584/1.403, allocations: 284.4 kB / 1.217 GB, free: 1.961 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004757/1.408, allocations: 1.954 MB / 1.219 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/1.408, allocations: 16 kB / 1.219 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.408, allocations: 3.984 kB / 1.219 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003232/1.411, allocations: 1.532 MB / 1.22 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/1.423, allocations: 4.968 MB / 1.225 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.423, allocations: 4 kB / 1.225 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/1.424, allocations: 276 kB / 1.225 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/1.424, allocations: 56.81 kB / 1.225 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/1.424, allocations: 31.98 kB / 1.225 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/1.426, allocations: 1.437 MB / 1.227 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.426, allocations: 15.88 kB / 1.227 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00625/1.432, allocations: 2.955 MB / 1.23 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/1.434, allocations: 0.5559 MB / 1.23 GB, free: 3.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008006/1.435, allocations: 28 kB / 1.23 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00352/1.438, allocations: 311.5 kB / 1.23 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/1.438, allocations: 92.73 kB / 1.231 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/1.439, allocations: 51.97 kB / 1.231 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.005928/1.445, allocations: 1.974 MB / 1.233 GB, free: 1.238 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.71e-07/1.445, allocations: 4 kB / 1.233 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.007737/1.452, allocations: 1.543 MB / 1.234 GB, free: 15.68 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001493/1.454, allocations: 449.8 kB / 1.234 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00804/1.462, allocations: 3.15 MB / 1.238 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.311e-05/1.462, allocations: 0 / 1.238 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/1.464, allocations: 0.9394 MB / 1.238 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008453/1.473, allocations: 1.509 MB / 1.24 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/1.488, allocations: 6.868 MB / 1.247 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00299/1.491, allocations: 2.127 MB / 1.249 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.004655/1.496, allocations: 0.7494 MB / 1.249 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009084/1.497, allocations: 195.4 kB / 1.25 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of SimCode: time 6.51e-07/1.497, allocations: 0 / 1.25 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of Templates: time 0.5519/2.049, allocations: 52.34 MB / 1.301 GB, free: 363.3 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) Environment - environmentSimulation: