Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001364/0.001365, allocations: 108.3 kB / 16.41 MB, free: 6.023 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.001632/0.001632, allocations: 190.9 kB / 17.35 MB, free: 5.605 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.327/1.327, allocations: 222.9 MB / 241 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.00213/0.00213, allocations: 304.2 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.9556/0.9556, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 91.86 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5438/0.5458, allocations: 86.98 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8914/1.437, allocations: 380.1 MB / 1.138 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.06567/1.503, allocations: 46.53 MB / 1.184 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008712/1.512, allocations: 179.1 kB / 1.184 GB, free: 13.6 MB / 0.8262 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.01071/1.523, allocations: 3.653 MB / 1.187 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.02086/1.543, allocations: 7.594 MB / 1.195 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01174/1.555, allocations: 3.981 MB / 1.199 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02589/1.581, allocations: 17.34 MB / 1.216 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01088/1.592, allocations: 5.625 MB / 1.221 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01634/1.608, allocations: 6.45 MB / 1.227 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008602/1.617, allocations: 3.769 MB / 1.231 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002479/1.62, allocations: 0.5039 MB / 1.232 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01779/1.637, allocations: 6.345 MB / 1.238 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003879/1.641, allocations: 1.998 MB / 1.24 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00681/1.648, allocations: 3.157 MB / 1.243 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0191/1.667, allocations: 10.4 MB / 1.253 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.667, allocations: 4 kB / 1.253 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.663e-06/1.667, allocations: 0 / 1.253 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002012/1.667, allocations: 0 / 1.253 GB, free: 6.547 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.01268/1.68, allocations: 6.477 MB / 1.259 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.68, allocations: 16.03 kB / 1.259 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01308/1.693, allocations: 2.002 MB / 1.261 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01433/1.708, allocations: 5.873 MB / 1.267 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004616/1.708, allocations: 393.5 kB / 1.267 GB, free: 7.566 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/1.709, allocations: 340 kB / 1.268 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01001/1.719, allocations: 4.505 MB / 1.272 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.915e-05/1.719, allocations: 4 kB / 1.272 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004043/1.72, allocations: 140 kB / 1.272 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/1.72, allocations: 138.5 kB / 1.272 GB, free: 2.336 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009473/1.729, allocations: 3.948 MB / 1.276 GB, free: 14.38 MB / 0.92 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.03137/1.761, allocations: 19.52 MB / 1.295 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004178/1.765, allocations: 1.737 MB / 1.297 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/1.767, allocations: 0.9051 MB / 1.298 GB, free: 6.762 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006808/1.768, allocations: 417.3 kB / 1.298 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002512/1.77, allocations: 1.057 MB / 1.299 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=127): time 3.346e-06/1.77, allocations: 0 / 1.299 GB, free: 5.203 MB / 0.9356 GB Notification: Performance of matching and sorting (n=127): time 0.01103/1.781, allocations: 2.882 MB / 1.302 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/1.782, allocations: 149.5 kB / 1.302 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01396/1.796, allocations: 4.657 MB / 1.307 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0006036/1.796, allocations: 57.7 kB / 1.307 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.004036/1.8, allocations: 2.429 MB / 1.309 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001/1.801, allocations: 469.5 kB / 1.31 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/1.803, allocations: 0.6858 MB / 1.31 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002036/1.803, allocations: 301.1 kB / 1.311 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005799/1.809, allocations: 1.366 MB / 1.312 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007599/1.817, allocations: 2.506 MB / 1.314 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/1.829, allocations: 3.669 MB / 1.318 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.097e-05/1.829, allocations: 15.94 kB / 1.318 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.4262/2.255, allocations: 4.241 MB / 1.322 GB, free: 406 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.764e-05/2.256, allocations: 47.83 kB / 1.322 GB, free: 406 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.074e-05/2.256, allocations: 32.38 kB / 1.322 GB, free: 406 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.792e-05/2.256, allocations: 53 kB / 1.322 GB, free: 406 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002994/2.259, allocations: 0.7179 MB / 1.323 GB, free: 406 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.588e-05/2.259, allocations: 70.84 kB / 1.323 GB, free: 405.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004241/2.263, allocations: 0.5163 MB / 1.324 GB, free: 405.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002547/2.263, allocations: 144.4 kB / 1.324 GB, free: 405.9 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005035/2.268, allocations: 2.521 MB / 1.326 GB, free: 405.5 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00339/2.272, allocations: 2.508 MB / 1.329 GB, free: 403.6 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005456/2.277, allocations: 3.67 MB / 1.332 GB, free: 401.4 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.006e-05/2.277, allocations: 12.64 kB / 1.332 GB, free: 401.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.008516/2.286, allocations: 4.248 MB / 1.336 GB, free: 400.1 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/2.286, allocations: 49.55 kB / 1.336 GB, free: 400 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.196e-05/2.286, allocations: 34.53 kB / 1.336 GB, free: 400 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.424e-05/2.286, allocations: 47.56 kB / 1.337 GB, free: 400 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002716/2.289, allocations: 0.7181 MB / 1.337 GB, free: 400 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.736e-05/2.289, allocations: 72.64 kB / 1.337 GB, free: 399.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00461/2.293, allocations: 439.8 kB / 1.338 GB, free: 399.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/2.294, allocations: 141.8 kB / 1.338 GB, free: 399.9 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * 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 (352): * Single equations (assignments): 346 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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.0007995/2.294, allocations: 372.8 kB / 1.338 GB, free: 399.6 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007257/2.295, allocations: 433.1 kB / 1.339 GB, free: 399.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005295/2.3, allocations: 2.293 MB / 1.341 GB, free: 398.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003932/2.304, allocations: 1.897 MB / 1.343 GB, free: 397.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/2.304, allocations: 0 / 1.343 GB, free: 397.7 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001663/2.306, allocations: 0.7246 MB / 1.343 GB, free: 397.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005904/2.307, allocations: 23.88 kB / 1.343 GB, free: 397.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/2.309, allocations: 184.6 kB / 1.344 GB, free: 397.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/2.309, allocations: 80.95 kB / 1.344 GB, free: 397.1 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004968/2.314, allocations: 2.013 MB / 1.346 GB, free: 396.5 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006353/2.321, allocations: 3.215 MB / 1.349 GB, free: 395.2 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001765/2.322, allocations: 0.8152 MB / 1.35 GB, free: 394.9 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004543/2.327, allocations: 3.119 MB / 1.353 GB, free: 392.5 MB / 0.9512 GB Notification: Performance of Backend: time 3.51e-07/2.327, allocations: 0 / 1.353 GB, free: 392.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01191/2.339, allocations: 5.538 MB / 1.358 GB, free: 387.8 MB / 0.9512 GB Notification: Performance of SimCode: time 0.01673/2.356, allocations: 10.09 MB / 1.368 GB, free: 377.8 MB / 0.9512 GB Notification: Performance of Templates: time 0.1261/2.482, allocations: 99.93 MB / 1.466 GB, free: 279.1 MB / 0.9512 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)