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.000986/0.0009862, allocations: 99.86 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.001185/0.001185, 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 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 222.1 MB, free: 5.883 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.533/1.533, allocations: 251.9 MB / 0.51 GB, free: 4.867 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.0005859/0.0005864, allocations: 12 kB / 0.6241 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6937/0.6943, allocations: 106.3 MB / 0.728 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.074/1.769, allocations: 306.4 MB / 1.027 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.06917/1.838, allocations: 42.29 MB / 1.068 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01102/1.849, allocations: 131.1 kB / 1.069 GB, free: 4.672 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01176/1.861, allocations: 2.377 MB / 1.071 GB, free: 2.414 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.03378/1.895, allocations: 6.925 MB / 1.078 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.02211/1.917, allocations: 4.694 MB / 1.082 GB, free: 6.82 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.02034/1.937, allocations: 6.721 MB / 1.089 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01141/1.948, allocations: 4.015 MB / 1.093 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0139/1.962, allocations: 4.139 MB / 1.097 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006811/1.969, allocations: 2.373 MB / 1.099 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001977/1.971, allocations: 172 kB / 1.099 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01222/1.984, allocations: 2.742 MB / 1.102 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003866/1.987, allocations: 1.223 MB / 1.103 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003797/1.991, allocations: 0.9992 MB / 1.104 GB, free: 340 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01295/2.004, allocations: 6.231 MB / 1.11 GB, free: 10.09 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/2.004, allocations: 0 / 1.11 GB, free: 10.09 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.844e-06/2.004, allocations: 0 / 1.11 GB, free: 10.09 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003994/2.005, allocations: 0 / 1.11 GB, free: 10.09 MB / 0.795 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.01526/2.02, allocations: 4.646 MB / 1.115 GB, free: 5.352 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/2.02, allocations: 8.031 kB / 1.115 GB, free: 5.344 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01164/2.032, allocations: 1.875 MB / 1.117 GB, free: 3.461 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01218/2.044, allocations: 3.444 MB / 1.12 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002202/2.046, allocations: 0.697 MB / 1.121 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002128/2.048, allocations: 347.9 kB / 1.121 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/2.063, allocations: 4.562 MB / 1.125 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.626e-05/2.063, allocations: 3.938 kB / 1.125 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004461/2.064, allocations: 144 kB / 1.126 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000147/2.064, allocations: 138.4 kB / 1.126 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01138/2.075, allocations: 4.167 MB / 1.13 GB, free: 5.777 MB / 0.8106 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.04131/2.117, allocations: 18.84 MB / 1.148 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005032/2.122, allocations: 2.029 MB / 1.15 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005029/2.122, allocations: 178.3 kB / 1.15 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003055/2.125, allocations: 1.259 MB / 1.151 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002682/2.128, allocations: 182 kB / 1.152 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=135): time 5.57e-06/2.128, allocations: 0 / 1.152 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=135): time 0.009502/2.138, allocations: 3.26 MB / 1.155 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001477/2.138, allocations: 226.6 kB / 1.155 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007635/2.146, allocations: 3.627 MB / 1.159 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0005921/2.146, allocations: 57.7 kB / 1.159 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.002617/2.149, allocations: 2.009 MB / 1.161 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008625/2.15, allocations: 469.3 kB / 1.161 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/2.15, allocations: 39.98 kB / 1.161 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002238/2.15, allocations: 377.9 kB / 1.161 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/2.153, allocations: 1.136 MB / 1.163 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003804/2.157, allocations: 1.815 MB / 1.164 GB, free: 416 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/2.16, allocations: 1.304 MB / 1.166 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/2.16, allocations: 4 kB / 1.166 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.008566/2.169, allocations: 3.251 MB / 1.169 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.004009/2.173, allocations: 7.344 MB / 1.176 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.3e-05/2.173, allocations: 16 kB / 1.176 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.573e-05/2.173, allocations: 31.95 kB / 1.176 GB, free: 4.012 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003078/2.176, allocations: 0.5851 MB / 1.177 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.69e-05/2.176, allocations: 39.86 kB / 1.177 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00584/2.182, allocations: 0.6185 MB / 1.177 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003115/2.182, allocations: 95.97 kB / 1.177 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/2.182, allocations: 4 kB / 1.177 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007314/2.19, allocations: 2.886 MB / 1.18 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.74e-05/2.19, allocations: 20.11 kB / 1.18 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/2.19, allocations: 31.94 kB / 1.18 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/2.192, allocations: 0.5857 MB / 1.181 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.548e-05/2.193, allocations: 31.92 kB / 1.181 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005047/2.198, allocations: 0.5421 MB / 1.181 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/2.198, allocations: 95.95 kB / 1.181 GB, free: 14.47 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * 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.003077/2.201, allocations: 1.137 MB / 1.183 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001255/2.202, allocations: 367.4 kB / 1.183 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006469/2.209, allocations: 2.476 MB / 1.185 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/2.209, allocations: 12 kB / 1.185 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/2.209, allocations: 7.984 kB / 1.185 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00425/2.213, allocations: 1.933 MB / 1.187 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01878/2.232, allocations: 7.796 MB / 1.195 GB, free: 336 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-05/2.232, allocations: 15.98 kB / 1.195 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/2.234, allocations: 380.4 kB / 1.195 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/2.234, allocations: 56.83 kB / 1.195 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/2.234, allocations: 55.97 kB / 1.195 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001385/2.236, allocations: 1.452 MB / 1.197 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.326e-05/2.236, allocations: 23.95 kB / 1.197 GB, free: 14.22 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009616/2.245, allocations: 5.322 MB / 1.202 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002716/2.248, allocations: 0.6876 MB / 1.203 GB, free: 7.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009201/2.249, allocations: 43.98 kB / 1.203 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003713/2.253, allocations: 442 kB / 1.203 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003359/2.253, allocations: 124.3 kB / 1.203 GB, free: 6.922 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001859/2.253, allocations: 71.95 kB / 1.203 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.005361/2.259, allocations: 2.513 MB / 1.206 GB, free: 4.332 MB / 0.8887 GB Notification: Performance of sort global known variables: time 4.41e-07/2.259, allocations: 4 kB / 1.206 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.007343/2.266, allocations: 1.978 MB / 1.208 GB, free: 2.344 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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.001605/2.268, allocations: 492.3 kB / 1.208 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01018/2.278, allocations: 4.017 MB / 1.212 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-05/2.278, allocations: 0 / 1.212 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.003034/2.281, allocations: 1.223 MB / 1.213 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01037/2.291, allocations: 1.904 MB / 1.215 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/2.315, allocations: 9.28 MB / 1.224 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003633/2.319, allocations: 2.747 MB / 1.227 GB, free: 14.48 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.006053/2.325, allocations: 0.9869 MB / 1.228 GB, free: 13.49 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001059/2.326, allocations: 267.3 kB / 1.228 GB, free: 13.23 MB / 0.92 GB Notification: Performance of SimCode: time 1.663e-06/2.326, allocations: 0 / 1.228 GB, free: 13.23 MB / 0.92 GB Notification: Performance of Templates: time 0.5925/2.919, allocations: 67.86 MB / 1.294 GB, free: 373.7 MB / 0.9512 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: