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.001077/0.001078, allocations: 109.5 kB / 16.42 MB, free: 6.496 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.001059/0.001059, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.363/1.363, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002328/0.002328, allocations: 295.3 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9683/0.9683, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 96.22 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5409, allocations: 86.98 MB / 0.7671 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8747/1.416, allocations: 342.9 MB / 1.102 GB, free: 304 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.05737/1.473, allocations: 38.39 MB / 1.139 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006683/1.48, allocations: 139.2 kB / 1.14 GB, free: 11.22 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.00975/1.49, allocations: 3.204 MB / 1.143 GB, free: 8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.02012/1.51, allocations: 6.181 MB / 1.149 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009267/1.519, allocations: 3.135 MB / 1.152 GB, free: 14.68 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01811/1.537, allocations: 11.48 MB / 1.163 GB, free: 3.16 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007763/1.545, allocations: 4.225 MB / 1.167 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01346/1.558, allocations: 5.072 MB / 1.172 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006249/1.565, allocations: 2.777 MB / 1.175 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.00168/1.566, allocations: 380 kB / 1.175 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01373/1.58, allocations: 5.324 MB / 1.18 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002958/1.583, allocations: 1.41 MB / 1.182 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.006263/1.589, allocations: 2.255 MB / 1.184 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01698/1.606, allocations: 7.728 MB / 1.191 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.607, allocations: 0 / 1.191 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.517e-06/1.607, allocations: 0 / 1.191 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.000267/1.607, allocations: 7.938 kB / 1.191 GB, free: 5.84 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.01278/1.62, allocations: 4.787 MB / 1.196 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/1.62, allocations: 16.03 kB / 1.196 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009687/1.629, allocations: 1.486 MB / 1.198 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009937/1.639, allocations: 3.912 MB / 1.201 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004698/1.64, allocations: 286.2 kB / 1.202 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/1.641, allocations: 264 kB / 1.202 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009774/1.651, allocations: 3.365 MB / 1.205 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.976e-05/1.651, allocations: 3.938 kB / 1.205 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005739/1.652, allocations: 108 kB / 1.205 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001218/1.652, allocations: 104.9 kB / 1.205 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007496/1.659, allocations: 2.978 MB / 1.208 GB, free: 4.227 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.02513/1.684, allocations: 14.57 MB / 1.223 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003735/1.688, allocations: 1.571 MB / 1.224 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/1.69, allocations: 0.6843 MB / 1.225 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/1.69, allocations: 308.2 kB / 1.225 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001991/1.692, allocations: 0.8055 MB / 1.226 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=103): time 4.027e-06/1.692, allocations: 4 kB / 1.226 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=103): time 0.006429/1.699, allocations: 2.197 MB / 1.228 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/1.699, allocations: 111.8 kB / 1.228 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006626/1.705, allocations: 3.19 MB / 1.231 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0003081/1.706, allocations: 53.7 kB / 1.231 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001807/1.708, allocations: 1.731 MB / 1.233 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005408/1.708, allocations: 374.8 kB / 1.233 GB, free: 9.363 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009519/1.709, allocations: 475.3 kB / 1.234 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.073e-05/1.709, allocations: 301.1 kB / 1.234 GB, free: 8.598 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/1.712, allocations: 0.9228 MB / 1.235 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002911/1.715, allocations: 1.703 MB / 1.237 GB, free: 5.621 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004591/1.719, allocations: 2.491 MB / 1.239 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.527e-05/1.719, allocations: 4 kB / 1.239 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006839/1.726, allocations: 2.919 MB / 1.242 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.8e-05/1.726, allocations: 37.7 kB / 1.242 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.472e-05/1.726, allocations: 27.98 kB / 1.242 GB, free: 15.83 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.82e-05/1.726, allocations: 32 kB / 1.242 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/1.728, allocations: 0.5034 MB / 1.242 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-05/1.729, allocations: 47.8 kB / 1.243 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003722/1.732, allocations: 393.3 kB / 1.243 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/1.733, allocations: 108 kB / 1.243 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004134/1.737, allocations: 1.722 MB / 1.245 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002912/1.74, allocations: 1.703 MB / 1.246 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004485/1.744, allocations: 2.506 MB / 1.249 GB, free: 8.164 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.266e-05/1.744, allocations: 7.984 kB / 1.249 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.006776/1.751, allocations: 2.911 MB / 1.252 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.279e-05/1.751, allocations: 41.7 kB / 1.252 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.104e-05/1.751, allocations: 20 kB / 1.252 GB, free: 5.164 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/1.751, allocations: 32 kB / 1.252 GB, free: 5.133 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002311/1.753, allocations: 0.5071 MB / 1.252 GB, free: 4.625 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.793e-05/1.754, allocations: 47.8 kB / 1.252 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00401/1.758, allocations: 318.5 kB / 1.253 GB, free: 4.266 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002669/1.758, allocations: 104 kB / 1.253 GB, free: 4.164 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.0007731/1.759, allocations: 316 kB / 1.253 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001131/1.76, allocations: 308.1 kB / 1.253 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00454/1.764, allocations: 1.676 MB / 1.255 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003075/1.767, allocations: 1.301 MB / 1.256 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/1.767, allocations: 0 / 1.256 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/1.769, allocations: 0.5436 MB / 1.257 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008064/1.77, allocations: 27.94 kB / 1.257 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002389/1.772, allocations: 135.8 kB / 1.257 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/1.773, allocations: 64.91 kB / 1.257 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004323/1.777, allocations: 1.506 MB / 1.258 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005619/1.783, allocations: 2.382 MB / 1.261 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001465/1.784, allocations: 0.6246 MB / 1.261 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.004397/1.789, allocations: 2.148 MB / 1.263 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of Backend: time 5.21e-07/1.789, allocations: 4 kB / 1.263 GB, free: 9.043 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01196/1.801, allocations: 4.054 MB / 1.267 GB, free: 4.98 MB / 0.9044 GB Notification: Performance of SimCode: time 0.01648/1.817, allocations: 7.217 MB / 1.274 GB, free: 13.74 MB / 0.92 GB Notification: Performance of Templates: time 0.5185/2.336, allocations: 72.79 MB / 1.346 GB, free: 402.8 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)