Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00107/0.00107, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01117/0.01117, allocations: 172.1 kB / 16.27 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 222.4 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.538/1.538, allocations: 252 MB / 0.5105 GB, free: 4.715 MB / 414.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.0005727/0.0005727, allocations: 16.31 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5626/0.5632, allocations: 106.3 MB / 0.7287 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.9077/1.471, allocations: 336.5 MB / 1.057 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05948/1.53, allocations: 39.42 MB / 1.096 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01063/1.541, allocations: 115.2 kB / 1.096 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.008238/1.549, allocations: 1.99 MB / 1.098 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02153/1.571, allocations: 5.649 MB / 1.103 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.008798/1.58, allocations: 2.772 MB / 1.106 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01644/1.596, allocations: 11.44 MB / 1.117 GB, free: 8.422 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007101/1.603, allocations: 3.436 MB / 1.121 GB, free: 4.91 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0124/1.616, allocations: 3.937 MB / 1.125 GB, free: 0.957 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007799/1.624, allocations: 2.638 MB / 1.127 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001365/1.625, allocations: 120 kB / 1.127 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01415/1.639, allocations: 5.712 MB / 1.133 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003202/1.643, allocations: 0.9846 MB / 1.134 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00536/1.648, allocations: 1.766 MB / 1.135 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01458/1.663, allocations: 7.071 MB / 1.142 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.663, allocations: 4 kB / 1.142 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.494e-06/1.663, allocations: 0 / 1.142 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002555/1.663, allocations: 0 / 1.142 GB, free: 14.61 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 647 * Number of variables: 647 Notification: Performance of Generate backend data structure: time 0.009866/1.673, allocations: 3.655 MB / 1.146 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.673, allocations: 16.02 kB / 1.146 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008964/1.682, allocations: 1.443 MB / 1.147 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007759/1.69, allocations: 2.73 MB / 1.15 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001523/1.691, allocations: 482 kB / 1.15 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/1.693, allocations: 267.9 kB / 1.151 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/1.703, allocations: 3.413 MB / 1.154 GB, free: 2.336 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/1.703, allocations: 4 kB / 1.154 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006567/1.704, allocations: 104 kB / 1.154 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/1.704, allocations: 104.9 kB / 1.154 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00811/1.712, allocations: 3.072 MB / 1.157 GB, free: 15.04 MB / 0.8419 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.02974/1.742, allocations: 14.11 MB / 1.171 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003908/1.746, allocations: 1.604 MB / 1.173 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001618/1.748, allocations: 0.7034 MB / 1.173 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005187/1.748, allocations: 300.3 kB / 1.174 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001836/1.75, allocations: 0.8371 MB / 1.174 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001372/1.752, allocations: 114.7 kB / 1.175 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=106): time 3.827e-06/1.752, allocations: 0 / 1.175 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of matching and sorting (n=106): time 0.005898/1.757, allocations: 2.154 MB / 1.177 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.594e-05/1.758, allocations: 119.8 kB / 1.177 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004134/1.762, allocations: 2.512 MB / 1.179 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002343/1.762, allocations: 57.69 kB / 1.179 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001376/1.763, allocations: 1.588 MB / 1.181 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003759/1.764, allocations: 390.6 kB / 1.181 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/1.764, allocations: 141.6 kB / 1.181 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.764, allocations: 305.1 kB / 1.182 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002091/1.766, allocations: 0.7847 MB / 1.182 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/1.769, allocations: 1.535 MB / 1.184 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00414/1.773, allocations: 2.205 MB / 1.186 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/1.773, allocations: 12 kB / 1.186 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.00633/1.779, allocations: 2.517 MB / 1.188 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005894/1.78, allocations: 0.7371 MB / 1.189 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/1.78, allocations: 20 kB / 1.189 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.353e-05/1.78, allocations: 35.94 kB / 1.189 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/1.782, allocations: 487.2 kB / 1.19 GB, free: 11.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.955e-05/1.782, allocations: 47.84 kB / 1.19 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003708/1.786, allocations: 441.8 kB / 1.19 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002063/1.786, allocations: 99.97 kB / 1.19 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/1.786, allocations: 5.25 kB / 1.19 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005428/1.792, allocations: 2.23 MB / 1.192 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/1.792, allocations: 24.44 kB / 1.193 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/1.792, allocations: 32 kB / 1.193 GB, free: 8.688 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/1.794, allocations: 487.2 kB / 1.193 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.712e-05/1.794, allocations: 39.86 kB / 1.193 GB, free: 8.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003959/1.798, allocations: 371.9 kB / 1.193 GB, free: 7.809 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/1.798, allocations: 99.95 kB / 1.193 GB, free: 7.711 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (218): * Single equations (assignments): 215 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002155/1.8, allocations: 0.8829 MB / 1.194 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006332/1.801, allocations: 268.7 kB / 1.195 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/1.805, allocations: 1.687 MB / 1.196 GB, free: 4.844 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/1.805, allocations: 19.88 kB / 1.196 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.805, allocations: 0 / 1.196 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002886/1.808, allocations: 1.317 MB / 1.198 GB, free: 3.473 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/1.818, allocations: 4.43 MB / 1.202 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/1.818, allocations: 8.812 kB / 1.202 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001321/1.82, allocations: 247.7 kB / 1.202 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002671/1.82, allocations: 56.77 kB / 1.202 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.82, allocations: 35.92 kB / 1.202 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/1.821, allocations: 1.433 MB / 1.204 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/1.821, allocations: 8 kB / 1.204 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005716/1.827, allocations: 2.569 MB / 1.206 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.829, allocations: 485.5 kB / 1.207 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007217/1.829, allocations: 31.98 kB / 1.207 GB, free: 9.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002635/1.832, allocations: 246 kB / 1.207 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/1.832, allocations: 100.3 kB / 1.207 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/1.832, allocations: 51.97 kB / 1.207 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.003487/1.836, allocations: 1.703 MB / 1.209 GB, free: 7.656 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.21e-07/1.836, allocations: 3.938 kB / 1.209 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.005715/1.842, allocations: 1.55 MB / 1.21 GB, free: 6.098 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/1.843, allocations: 425.6 kB / 1.211 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.007471/1.85, allocations: 2.963 MB / 1.213 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/1.85, allocations: 3.984 kB / 1.213 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/1.853, allocations: 0.8242 MB / 1.214 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01012/1.863, allocations: 1.203 MB / 1.215 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.878, allocations: 6.936 MB / 1.222 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003083/1.882, allocations: 2.13 MB / 1.224 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.004791/1.886, allocations: 0.7635 MB / 1.225 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008379/1.887, allocations: 179.4 kB / 1.225 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of SimCode: time 1.202e-06/1.887, allocations: 0 / 1.225 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of Templates: time 0.5029/2.39, allocations: 45.13 MB / 1.269 GB, free: 382.8 MB / 0.9356 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1) Environment - environmentSimulation: