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.0008483/0.0008484, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001025/0.001024, allocations: 172.7 kB / 15.95 MB, free: 208 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.709/1.709, 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 7.0.3-maint.7.0.x/package.mo): time 1.628/1.628, allocations: 252 MB / 0.5102 GB, free: 4.758 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.0005653/0.0005653, allocations: 16 kB / 0.6243 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6313/0.6319, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 1.009/1.641, allocations: 314 MB / 1.035 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05727/1.698, allocations: 36.68 MB / 1.071 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00784/1.706, allocations: 111.2 kB / 1.071 GB, free: 7.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.008504/1.715, allocations: 1.487 MB / 1.072 GB, free: 6.023 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01983/1.735, allocations: 4.344 MB / 1.076 GB, free: 1.66 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01091/1.746, allocations: 2.239 MB / 1.079 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01827/1.764, allocations: 9.712 MB / 1.088 GB, free: 5.699 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006634/1.771, allocations: 2.9 MB / 1.091 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01162/1.782, allocations: 3.598 MB / 1.094 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006891/1.789, allocations: 2.532 MB / 1.097 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001299/1.791, allocations: 132 kB / 1.097 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01192/1.802, allocations: 2.861 MB / 1.1 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003101/1.806, allocations: 0.9731 MB / 1.101 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.003394/1.809, allocations: 0.7575 MB / 1.101 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01237/1.821, allocations: 5.046 MB / 1.106 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.351e-05/1.822, allocations: 8 kB / 1.106 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.049e-06/1.822, allocations: 0 / 1.106 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003062/1.822, allocations: 3.938 kB / 1.106 GB, free: 2.785 MB / 0.7794 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.0135/1.835, allocations: 3.702 MB / 1.11 GB, free: 15 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.835, allocations: 8.031 kB / 1.11 GB, free: 14.99 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008293/1.844, allocations: 1.451 MB / 1.111 GB, free: 13.54 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006664/1.85, allocations: 2.55 MB / 1.114 GB, free: 10.91 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001266/1.852, allocations: 0.5409 MB / 1.114 GB, free: 10.35 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006971/1.852, allocations: 256 kB / 1.115 GB, free: 10.1 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007245/1.86, allocations: 3.476 MB / 1.118 GB, free: 6.523 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.003e-05/1.86, allocations: 4 kB / 1.118 GB, free: 6.52 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/1.86, allocations: 111.9 kB / 1.118 GB, free: 6.41 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001177/1.86, allocations: 104.9 kB / 1.118 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007413/1.868, allocations: 3.205 MB / 1.121 GB, free: 3.086 MB / 0.795 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.02972/1.897, allocations: 14.44 MB / 1.136 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004034/1.901, allocations: 1.868 MB / 1.137 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/1.903, allocations: 0.8184 MB / 1.138 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005044/1.904, allocations: 304.2 kB / 1.138 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002115/1.906, allocations: 0.9816 MB / 1.139 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002042/1.908, allocations: 134.3 kB / 1.14 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=108): time 4.068e-06/1.908, allocations: 7.938 kB / 1.14 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of matching and sorting (n=108): time 0.007199/1.915, allocations: 2.51 MB / 1.142 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/1.915, allocations: 115.8 kB / 1.142 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005429/1.921, allocations: 2.835 MB / 1.145 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0003908/1.921, allocations: 57.7 kB / 1.145 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001599/1.923, allocations: 1.494 MB / 1.146 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005287/1.923, allocations: 386.5 kB / 1.147 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/1.924, allocations: 32 kB / 1.147 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001756/1.924, allocations: 373.8 kB / 1.147 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/1.926, allocations: 0.894 MB / 1.148 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002733/1.929, allocations: 1.404 MB / 1.149 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00249/1.931, allocations: 1.021 MB / 1.15 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.198e-05/1.931, allocations: 8 kB / 1.15 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006366/1.938, allocations: 2.537 MB / 1.153 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003878/1.938, allocations: 475.7 kB / 1.153 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/1.938, allocations: 8 kB / 1.153 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.241e-05/1.938, allocations: 24 kB / 1.153 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/1.94, allocations: 463.4 kB / 1.154 GB, free: 304 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.431e-05/1.94, allocations: 27.92 kB / 1.154 GB, free: 276 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004312/1.945, allocations: 0.5031 MB / 1.154 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/1.945, allocations: 71.97 kB / 1.154 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.945, allocations: 4 kB / 1.154 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005625/1.951, allocations: 2.266 MB / 1.157 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.15e-05/1.951, allocations: 12.44 kB / 1.157 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.619e-05/1.951, allocations: 24 kB / 1.157 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/1.953, allocations: 463.3 kB / 1.157 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.894e-05/1.953, allocations: 23.94 kB / 1.157 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004114/1.957, allocations: 451.9 kB / 1.158 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/1.957, allocations: 75.97 kB / 1.158 GB, free: 12.39 MB / 0.8419 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.002321/1.96, allocations: 0.8621 MB / 1.158 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008474/1.96, allocations: 284.4 kB / 1.159 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004795/1.965, allocations: 1.958 MB / 1.161 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/1.965, allocations: 12 kB / 1.161 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/1.965, allocations: 4 kB / 1.161 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003412/1.969, allocations: 1.536 MB / 1.162 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/1.984, allocations: 4.936 MB / 1.167 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/1.984, allocations: 7.984 kB / 1.167 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/1.986, allocations: 280.4 kB / 1.167 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003438/1.986, allocations: 60.91 kB / 1.167 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/1.986, allocations: 31.98 kB / 1.167 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/1.988, allocations: 1.432 MB / 1.169 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/1.988, allocations: 8 kB / 1.169 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00701/1.995, allocations: 2.947 MB / 1.172 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/1.997, allocations: 0.552 MB / 1.172 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008594/1.998, allocations: 28 kB / 1.172 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/2.001, allocations: 319.5 kB / 1.172 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/2.002, allocations: 96.67 kB / 1.173 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001943/2.002, allocations: 55.97 kB / 1.173 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.005942/2.008, allocations: 1.978 MB / 1.175 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.01e-07/2.008, allocations: 0 / 1.175 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00746/2.015, allocations: 1.523 MB / 1.176 GB, free: 8.992 MB / 0.8575 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.001532/2.017, allocations: 425.9 kB / 1.176 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.009059/2.026, allocations: 3.149 MB / 1.18 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/2.026, allocations: 0 / 1.18 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002404/2.028, allocations: 0.9355 MB / 1.18 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01025/2.039, allocations: 1.517 MB / 1.182 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/2.059, allocations: 6.865 MB / 1.189 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004209/2.063, allocations: 2.131 MB / 1.191 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.00537/2.069, allocations: 0.7377 MB / 1.191 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/2.07, allocations: 207.4 kB / 1.192 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of SimCode: time 1.853e-06/2.07, allocations: 0 / 1.192 GB, free: 8.883 MB / 0.8731 GB Notification: Performance of Templates: time 0.1026/2.173, allocations: 52.11 MB / 1.242 GB, free: 5.441 MB / 0.92 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: