Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008563/0.0008563, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.0009398/0.0009398, allocations: 168.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.769/1.769, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.66/1.66, allocations: 252 MB / 0.5102 GB, free: 4.777 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.0009994/0.0009999, allocations: 16 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.6547, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.103/1.758, allocations: 348 MB / 1.068 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.07553/1.833, allocations: 44.22 MB / 1.111 GB, free: 14 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0114/1.845, allocations: 143.1 kB / 1.111 GB, free: 13.86 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/1.855, allocations: 1.789 MB / 1.113 GB, free: 12.06 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02202/1.877, allocations: 5.486 MB / 1.118 GB, free: 6.555 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01102/1.888, allocations: 2.8 MB / 1.121 GB, free: 3.777 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02196/1.91, allocations: 13.12 MB / 1.134 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009167/1.919, allocations: 3.937 MB / 1.138 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01696/1.936, allocations: 4.672 MB / 1.142 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01125/1.948, allocations: 3.396 MB / 1.146 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002224/1.95, allocations: 172 kB / 1.146 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/1.965, allocations: 3.348 MB / 1.149 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.004145/1.969, allocations: 1.335 MB / 1.15 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.003831/1.973, allocations: 1.003 MB / 1.151 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01721/1.99, allocations: 6.632 MB / 1.158 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.184e-05/1.99, allocations: 0 / 1.158 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 4.819e-06/1.99, allocations: 0 / 1.158 GB, free: 14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003429/1.991, allocations: 0 / 1.158 GB, free: 14 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: 858 * Number of variables: 858 Notification: Performance of Generate backend data structure: time 0.01524/2.006, allocations: 4.767 MB / 1.163 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/2.006, allocations: 8.031 kB / 1.163 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01115/2.017, allocations: 1.863 MB / 1.164 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01071/2.028, allocations: 3.39 MB / 1.168 GB, free: 3.816 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001938/2.03, allocations: 0.6931 MB / 1.168 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001742/2.032, allocations: 351.9 kB / 1.169 GB, free: 2.754 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/2.044, allocations: 4.609 MB / 1.173 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.142e-05/2.044, allocations: 11.98 kB / 1.173 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000429/2.045, allocations: 140 kB / 1.173 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002769/2.045, allocations: 134.5 kB / 1.173 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/2.056, allocations: 4.194 MB / 1.178 GB, free: 9.562 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.03578/2.092, allocations: 18.77 MB / 1.196 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004395/2.096, allocations: 2.068 MB / 1.198 GB, free: 3.344 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00252/2.099, allocations: 1.085 MB / 1.199 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007727/2.1, allocations: 449.6 kB / 1.199 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002768/2.102, allocations: 1.271 MB / 1.201 GB, free: 464 kB / 0.8731 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002207/2.105, allocations: 178 kB / 1.201 GB, free: 284 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=135): time 5.471e-06/2.105, allocations: 0 / 1.201 GB, free: 284 kB / 0.8731 GB Notification: Performance of matching and sorting (n=135): time 0.008798/2.113, allocations: 3.283 MB / 1.204 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/2.114, allocations: 145.8 kB / 1.204 GB, free: 12.79 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006417/2.12, allocations: 3.658 MB / 1.208 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0004714/2.12, allocations: 61.7 kB / 1.208 GB, free: 9.035 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002067/2.123, allocations: 2.005 MB / 1.21 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006812/2.123, allocations: 469.3 kB / 1.21 GB, free: 6.555 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/2.123, allocations: 40 kB / 1.21 GB, free: 6.516 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001916/2.124, allocations: 385.8 kB / 1.211 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00306/2.127, allocations: 1.14 MB / 1.212 GB, free: 4.992 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003605/2.13, allocations: 1.83 MB / 1.213 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/2.134, allocations: 1.312 MB / 1.215 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/2.134, allocations: 8 kB / 1.215 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.008247/2.142, allocations: 3.259 MB / 1.218 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005595/2.143, allocations: 0.5963 MB / 1.219 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.088e-05/2.143, allocations: 19.95 kB / 1.219 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.866e-05/2.143, allocations: 28 kB / 1.219 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/2.145, allocations: 0.5813 MB / 1.219 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.556e-05/2.145, allocations: 43.78 kB / 1.219 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005622/2.151, allocations: 0.6145 MB / 1.22 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002704/2.151, allocations: 99.95 kB / 1.22 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/2.151, allocations: 0 / 1.22 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007397/2.159, allocations: 2.914 MB / 1.223 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-05/2.159, allocations: 16 kB / 1.223 GB, free: 9.129 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.148e-05/2.159, allocations: 28 kB / 1.223 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/2.162, allocations: 0.574 MB / 1.223 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.158e-05/2.162, allocations: 31.92 kB / 1.223 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00467/2.166, allocations: 0.5406 MB / 1.224 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003726/2.167, allocations: 91.97 kB / 1.224 GB, free: 7.863 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (230): * Single equations (assignments): 226 * Array equations: 3 * 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.002976/2.17, allocations: 1.137 MB / 1.225 GB, free: 6.715 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001093/2.171, allocations: 367.3 kB / 1.225 GB, free: 6.352 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00718/2.178, allocations: 2.596 MB / 1.228 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/2.178, allocations: 16 kB / 1.228 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/2.178, allocations: 0 / 1.228 GB, free: 3.703 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004887/2.183, allocations: 2.21 MB / 1.23 GB, free: 1.402 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 postOpt removeSimpleEquations (simulation): time 0.01909/2.202, allocations: 7.078 MB / 1.237 GB, free: 10.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/2.202, allocations: 12 kB / 1.237 GB, free: 10.06 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/2.204, allocations: 368.1 kB / 1.237 GB, free: 9.703 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002736/2.204, allocations: 60.75 kB / 1.237 GB, free: 9.641 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002019/2.205, allocations: 43.98 kB / 1.238 GB, free: 9.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/2.206, allocations: 1.444 MB / 1.239 GB, free: 8.02 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/2.206, allocations: 11.94 kB / 1.239 GB, free: 8.008 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009091/2.215, allocations: 3.873 MB / 1.243 GB, free: 3.996 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003268/2.218, allocations: 0.6837 MB / 1.243 GB, free: 3.289 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002074/2.221, allocations: 32 kB / 1.243 GB, free: 3.258 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005114/2.226, allocations: 444.2 kB / 1.244 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/2.226, allocations: 124.6 kB / 1.244 GB, free: 2.703 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002645/2.226, allocations: 63.95 kB / 1.244 GB, free: 2.641 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.008027/2.234, allocations: 2.532 MB / 1.247 GB, free: 104 kB / 0.92 GB Notification: Performance of sort global known variables: time 5.11e-07/2.234, allocations: 0 / 1.247 GB, free: 104 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.009325/2.244, allocations: 1.978 MB / 1.248 GB, free: 14.12 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * 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 (133): * Single equations (assignments): 130 * 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.001625/2.245, allocations: 489.8 kB / 1.249 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01134/2.257, allocations: 4.043 MB / 1.253 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.859e-05/2.257, allocations: 8.062 kB / 1.253 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003269/2.26, allocations: 1.209 MB / 1.254 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/2.272, allocations: 1.932 MB / 1.256 GB, free: 6.438 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5063/2.778, allocations: 9.198 MB / 1.265 GB, free: 378 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/2.782, allocations: 2.664 MB / 1.268 GB, free: 377.3 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.006883/2.789, allocations: 0.9742 MB / 1.268 GB, free: 377.2 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/2.79, allocations: 266 kB / 1.269 GB, free: 377.2 MB / 0.9356 GB Notification: Performance of SimCode: time 1.763e-06/2.79, allocations: 0 / 1.269 GB, free: 377.2 MB / 0.9356 GB Notification: Performance of Templates: time 0.1216/2.912, allocations: 68.42 MB / 1.336 GB, free: 328.8 MB / 0.9356 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) Environment - environmentSimulation: