Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001612/0.001612, allocations: 111 kB / 16.42 MB, free: 6.469 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.001773/0.001773, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002147/0.002147, allocations: 291.9 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9747/0.9747, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001678/0.001678, allocations: 99.84 kB / 0.6821 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4904, allocations: 86.98 MB / 0.7671 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8402/1.331, allocations: 342.9 MB / 1.102 GB, free: 496 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05467/1.385, allocations: 38.39 MB / 1.139 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007424/1.393, allocations: 139.2 kB / 1.14 GB, free: 11.42 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0096/1.402, allocations: 3.143 MB / 1.143 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0187/1.421, allocations: 5.945 MB / 1.148 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009989/1.431, allocations: 3.129 MB / 1.151 GB, free: 15.19 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02278/1.454, allocations: 11.47 MB / 1.163 GB, free: 3.688 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009685/1.464, allocations: 4.217 MB / 1.167 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01319/1.477, allocations: 4.998 MB / 1.172 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007097/1.484, allocations: 2.783 MB / 1.174 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.002169/1.486, allocations: 380 kB / 1.175 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01325/1.5, allocations: 5.305 MB / 1.18 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002881/1.503, allocations: 1.406 MB / 1.181 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.005552/1.508, allocations: 2.259 MB / 1.183 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01796/1.526, allocations: 7.728 MB / 1.191 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/1.526, allocations: 0 / 1.191 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.395e-06/1.526, allocations: 4 kB / 1.191 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000278/1.526, allocations: 0 / 1.191 GB, free: 6.469 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: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01346/1.54, allocations: 4.799 MB / 1.196 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.259e-05/1.54, allocations: 15.97 kB / 1.196 GB, free: 1.559 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009875/1.55, allocations: 1.486 MB / 1.197 GB, free: 68 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01033/1.56, allocations: 3.909 MB / 1.201 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004858/1.561, allocations: 286.2 kB / 1.201 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001322/1.562, allocations: 264 kB / 1.202 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01184/1.574, allocations: 3.363 MB / 1.205 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.633e-05/1.574, allocations: 7.938 kB / 1.205 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003423/1.574, allocations: 108 kB / 1.205 GB, free: 7.941 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/1.575, allocations: 108.9 kB / 1.205 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007345/1.582, allocations: 2.974 MB / 1.208 GB, free: 4.844 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.02439/1.606, allocations: 14.56 MB / 1.222 GB, free: 5.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003541/1.61, allocations: 1.583 MB / 1.224 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001543/1.612, allocations: 0.6843 MB / 1.224 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004064/1.612, allocations: 300.3 kB / 1.225 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001837/1.614, allocations: 0.8059 MB / 1.225 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=103): time 3.466e-06/1.614, allocations: 0 / 1.225 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of matching and sorting (n=103): time 0.00626/1.62, allocations: 2.201 MB / 1.228 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/1.62, allocations: 111.8 kB / 1.228 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005227/1.625, allocations: 3.19 MB / 1.231 GB, free: 12.16 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003271/1.626, allocations: 53.7 kB / 1.231 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.627, allocations: 1.719 MB / 1.233 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004803/1.628, allocations: 374.8 kB / 1.233 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006941/1.629, allocations: 475.4 kB / 1.233 GB, free: 9.527 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.399e-05/1.629, allocations: 301.1 kB / 1.234 GB, free: 9.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/1.631, allocations: 0.9305 MB / 1.235 GB, free: 8.293 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002731/1.634, allocations: 1.692 MB / 1.236 GB, free: 6.258 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004492/1.638, allocations: 2.496 MB / 1.239 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/1.638, allocations: 7.938 kB / 1.239 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006637/1.645, allocations: 2.928 MB / 1.241 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.872e-05/1.645, allocations: 37.7 kB / 1.242 GB, free: 484 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/1.645, allocations: 24 kB / 1.242 GB, free: 460 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.743e-05/1.645, allocations: 32 kB / 1.242 GB, free: 428 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/1.647, allocations: 0.5074 MB / 1.242 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-05/1.647, allocations: 43.86 kB / 1.242 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/1.651, allocations: 389.3 kB / 1.242 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/1.651, allocations: 103.9 kB / 1.243 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003699/1.655, allocations: 1.722 MB / 1.244 GB, free: 13.65 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002701/1.657, allocations: 1.711 MB / 1.246 GB, free: 11.6 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00445/1.662, allocations: 2.494 MB / 1.248 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.09e-05/1.662, allocations: 4 kB / 1.248 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.00672/1.669, allocations: 2.907 MB / 1.251 GB, free: 5.867 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/1.669, allocations: 49.69 kB / 1.251 GB, free: 5.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.018e-05/1.669, allocations: 20 kB / 1.251 GB, free: 5.793 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/1.669, allocations: 32 kB / 1.251 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002106/1.671, allocations: 0.5033 MB / 1.252 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.476e-05/1.671, allocations: 55.72 kB / 1.252 GB, free: 5.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/1.674, allocations: 318.5 kB / 1.252 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/1.675, allocations: 99.98 kB / 1.252 GB, free: 4.793 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (247): * Single equations (assignments): 243 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.000641/1.675, allocations: 312 kB / 1.253 GB, free: 4.48 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009168/1.676, allocations: 312 kB / 1.253 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00414/1.68, allocations: 1.679 MB / 1.254 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002915/1.683, allocations: 1.301 MB / 1.256 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.683, allocations: 0 / 1.256 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/1.685, allocations: 0.5436 MB / 1.256 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004409/1.685, allocations: 28 kB / 1.256 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/1.687, allocations: 131.8 kB / 1.256 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/1.687, allocations: 64.91 kB / 1.257 GB, free: 360 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004037/1.691, allocations: 1.498 MB / 1.258 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005302/1.697, allocations: 2.394 MB / 1.26 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001428/1.698, allocations: 0.6207 MB / 1.261 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.003968/1.702, allocations: 2.148 MB / 1.263 GB, free: 9.676 MB / 0.9044 GB Notification: Performance of Backend: time 7.22e-07/1.702, allocations: 7.938 kB / 1.263 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01089/1.713, allocations: 4.05 MB / 1.267 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of SimCode: time 0.01477/1.728, allocations: 7.217 MB / 1.274 GB, free: 14.37 MB / 0.92 GB Notification: Performance of Templates: time 0.5217/2.25, allocations: 72.78 MB / 1.345 GB, free: 403.2 MB / 0.9512 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)