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.0009102/0.0009103, allocations: 99.78 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.0009935/0.0009937, allocations: 177.3 kB / 15.94 MB, free: 228 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.423/1.423, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.736/1.736, allocations: 292.5 MB / 0.5497 GB, free: 14.63 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.0004841/0.0004842, allocations: 20.09 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.2191, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7918/1.011, allocations: 276.8 MB / 1.057 GB, free: 3.5 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.04994/1.061, allocations: 34.78 MB / 1.091 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007219/1.068, allocations: 103.2 kB / 1.091 GB, free: 0.5547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.008509/1.077, allocations: 1.929 MB / 1.093 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02056/1.097, allocations: 5.45 MB / 1.099 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01295/1.11, allocations: 3.704 MB / 1.102 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01212/1.122, allocations: 5.001 MB / 1.107 GB, free: 488 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00561/1.128, allocations: 2.942 MB / 1.11 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009711/1.138, allocations: 3.263 MB / 1.113 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003953/1.142, allocations: 1.68 MB / 1.115 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0008108/1.143, allocations: 124 kB / 1.115 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009337/1.152, allocations: 2.492 MB / 1.117 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.002241/1.154, allocations: 0.8877 MB / 1.118 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.002852/1.157, allocations: 0.7537 MB / 1.119 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.009679/1.167, allocations: 4.797 MB / 1.124 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.167, allocations: 0 / 1.124 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.608e-06/1.167, allocations: 0 / 1.124 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003314/1.167, allocations: 0 / 1.124 GB, free: 15.45 MB / 0.8419 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.01086/1.178, allocations: 3.624 MB / 1.127 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.97e-05/1.178, allocations: 12.03 kB / 1.127 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009958/1.188, allocations: 1.467 MB / 1.129 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008129/1.196, allocations: 2.585 MB / 1.131 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001473/1.198, allocations: 0.5369 MB / 1.132 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/1.199, allocations: 264 kB / 1.132 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00997/1.209, allocations: 3.44 MB / 1.135 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/1.209, allocations: 7.953 kB / 1.135 GB, free: 3.238 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006307/1.21, allocations: 107.9 kB / 1.135 GB, free: 3.133 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001185/1.21, allocations: 96.91 kB / 1.136 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007573/1.218, allocations: 3.189 MB / 1.139 GB, free: 15.83 MB / 0.8575 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.02653/1.244, allocations: 14.48 MB / 1.153 GB, free: 296 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/1.248, allocations: 1.877 MB / 1.155 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/1.249, allocations: 33.05 kB / 1.155 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002139/1.251, allocations: 0.9685 MB / 1.156 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001697/1.252, allocations: 146.3 kB / 1.156 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=108): time 1.325e-05/1.253, allocations: 0 / 1.156 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of matching and sorting (n=108): time 0.007082/1.26, allocations: 2.526 MB / 1.158 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.26, allocations: 200.8 kB / 1.158 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006358/1.266, allocations: 2.811 MB / 1.161 GB, free: 7.578 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003151/1.266, allocations: 53.7 kB / 1.161 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001885/1.268, allocations: 1.506 MB / 1.163 GB, free: 6 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004849/1.269, allocations: 378.6 kB / 1.163 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/1.269, allocations: 24 kB / 1.163 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001827/1.269, allocations: 369.9 kB / 1.163 GB, free: 5.234 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002486/1.272, allocations: 0.89 MB / 1.164 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/1.275, allocations: 1.404 MB / 1.166 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/1.277, allocations: 1.023 MB / 1.167 GB, free: 1.703 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.619e-05/1.277, allocations: 4 kB / 1.167 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006633/1.284, allocations: 2.538 MB / 1.169 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.002167/1.286, allocations: 5.119 MB / 1.174 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/1.286, allocations: 12 kB / 1.174 GB, free: 9.688 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.443e-05/1.286, allocations: 20 kB / 1.174 GB, free: 9.668 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002175/1.288, allocations: 471.4 kB / 1.175 GB, free: 9.207 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.586e-05/1.289, allocations: 23.89 kB / 1.175 GB, free: 9.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/1.293, allocations: 0.5038 MB / 1.175 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/1.293, allocations: 75.97 kB / 1.175 GB, free: 8.605 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/1.293, allocations: 4 kB / 1.175 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005655/1.299, allocations: 2.264 MB / 1.177 GB, free: 6.332 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.931e-05/1.299, allocations: 15.94 kB / 1.177 GB, free: 6.316 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.937e-05/1.299, allocations: 23.94 kB / 1.178 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/1.301, allocations: 459.7 kB / 1.178 GB, free: 5.844 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.967e-05/1.301, allocations: 31.92 kB / 1.178 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004111/1.305, allocations: 451.9 kB / 1.178 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/1.305, allocations: 71.95 kB / 1.178 GB, free: 5.301 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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.002231/1.308, allocations: 0.8674 MB / 1.179 GB, free: 4.422 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009758/1.309, allocations: 276.5 kB / 1.18 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004905/1.314, allocations: 1.875 MB / 1.181 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.314, allocations: 12 kB / 1.181 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/1.314, allocations: 4 kB / 1.181 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003053/1.317, allocations: 1.368 MB / 1.183 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01275/1.329, allocations: 5.349 MB / 1.188 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/1.329, allocations: 12.06 kB / 1.188 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/1.331, allocations: 283.6 kB / 1.188 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/1.331, allocations: 60.77 kB / 1.188 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/1.331, allocations: 39.97 kB / 1.188 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/1.333, allocations: 1.456 MB / 1.19 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/1.333, allocations: 11.94 kB / 1.19 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007153/1.34, allocations: 3.761 MB / 1.193 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002238/1.342, allocations: 0.5598 MB / 1.194 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009765/1.343, allocations: 28 kB / 1.194 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003306/1.346, allocations: 315.5 kB / 1.194 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/1.347, allocations: 108.3 kB / 1.194 GB, free: 4.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/1.347, allocations: 55.95 kB / 1.194 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.004428/1.351, allocations: 1.958 MB / 1.196 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/1.351, allocations: 0 / 1.196 GB, free: 2.172 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.006358/1.358, allocations: 1.535 MB / 1.198 GB, free: 0.6328 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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.001989/1.36, allocations: 434.9 kB / 1.198 GB, free: 216 kB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.008817/1.369, allocations: 3.127 MB / 1.201 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/1.369, allocations: 9.562 kB / 1.201 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002319/1.371, allocations: 0.9449 MB / 1.202 GB, free: 12.09 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008998/1.38, allocations: 1.507 MB / 1.204 GB, free: 10.61 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/1.396, allocations: 6.921 MB / 1.211 GB, free: 3.555 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003186/1.4, allocations: 2.189 MB / 1.213 GB, free: 1.332 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.004743/1.404, allocations: 0.7494 MB / 1.213 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009684/1.405, allocations: 207.4 kB / 1.214 GB, free: 384 kB / 0.92 GB Notification: Performance of SimCode: time 1.282e-06/1.405, allocations: 0 / 1.214 GB, free: 384 kB / 0.92 GB Notification: Performance of Templates: time 0.0949/1.5, allocations: 52.04 MB / 1.264 GB, free: 12.97 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: