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.001232/0.001232, allocations: 112.2 kB / 16.42 MB, free: 6.473 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.001239/0.001239, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003032/0.003032, allocations: 285.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9682/0.9682, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 91.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5335/0.5354, allocations: 86.97 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8885/1.424, allocations: 380.1 MB / 1.138 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.06948/1.493, allocations: 46.52 MB / 1.184 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008976/1.502, allocations: 179 kB / 1.184 GB, free: 13.71 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.01158/1.514, allocations: 3.741 MB / 1.188 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.026/1.54, allocations: 7.886 MB / 1.195 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01113/1.551, allocations: 3.994 MB / 1.199 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02602/1.577, allocations: 17.36 MB / 1.216 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01201/1.589, allocations: 5.629 MB / 1.222 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01655/1.606, allocations: 6.559 MB / 1.228 GB, free: 376 kB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008337/1.614, allocations: 3.755 MB / 1.232 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002248/1.617, allocations: 0.5039 MB / 1.232 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01534/1.632, allocations: 6.361 MB / 1.238 GB, free: 5.734 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003612/1.636, allocations: 2.014 MB / 1.24 GB, free: 3.715 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.007264/1.643, allocations: 3.153 MB / 1.243 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.02118/1.664, allocations: 10.4 MB / 1.254 GB, free: 6.121 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/1.664, allocations: 4 kB / 1.254 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.873e-06/1.664, allocations: 0 / 1.254 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0003349/1.664, allocations: 0 / 1.254 GB, free: 6.117 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.01855/1.683, allocations: 6.477 MB / 1.26 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/1.683, allocations: 8.031 kB / 1.26 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01357/1.697, allocations: 2.014 MB / 1.262 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/1.712, allocations: 5.865 MB / 1.268 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004997/1.713, allocations: 381.5 kB / 1.268 GB, free: 7.148 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/1.714, allocations: 352 kB / 1.268 GB, free: 6.805 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/1.727, allocations: 4.501 MB / 1.273 GB, free: 2.188 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/1.727, allocations: 7.938 kB / 1.273 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008449/1.728, allocations: 140 kB / 1.273 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001442/1.728, allocations: 138.5 kB / 1.273 GB, free: 1.906 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/1.739, allocations: 3.952 MB / 1.277 GB, free: 13.95 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.03409/1.773, allocations: 19.52 MB / 1.296 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/1.777, allocations: 1.742 MB / 1.298 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/1.78, allocations: 0.905 MB / 1.298 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006826/1.78, allocations: 409.3 kB / 1.299 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0026/1.783, allocations: 1.053 MB / 1.3 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=127): time 3.908e-06/1.783, allocations: 0 / 1.3 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of matching and sorting (n=127): time 0.008719/1.792, allocations: 2.886 MB / 1.303 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.919e-05/1.792, allocations: 145.5 kB / 1.303 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/1.802, allocations: 4.665 MB / 1.307 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004049/1.802, allocations: 61.69 kB / 1.307 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00244/1.805, allocations: 2.422 MB / 1.31 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000681/1.806, allocations: 473.5 kB / 1.31 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/1.807, allocations: 0.6819 MB / 1.311 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.895e-05/1.807, allocations: 301.1 kB / 1.311 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003276/1.81, allocations: 1.366 MB / 1.313 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00407/1.815, allocations: 2.509 MB / 1.315 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006543/1.821, allocations: 3.673 MB / 1.319 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.921e-05/1.821, allocations: 15.94 kB / 1.319 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.4601/2.281, allocations: 4.236 MB / 1.323 GB, free: 406.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/2.281, allocations: 50.67 kB / 1.323 GB, free: 406.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.808e-05/2.281, allocations: 34.06 kB / 1.323 GB, free: 406.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-05/2.281, allocations: 53.48 kB / 1.323 GB, free: 406.1 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003502/2.285, allocations: 0.715 MB / 1.324 GB, free: 406.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001053/2.285, allocations: 71.08 kB / 1.324 GB, free: 406.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004939/2.29, allocations: 0.5185 MB / 1.324 GB, free: 406.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003316/2.29, allocations: 143.4 kB / 1.324 GB, free: 406.1 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005847/2.296, allocations: 2.519 MB / 1.327 GB, free: 405.4 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003668/2.3, allocations: 2.504 MB / 1.329 GB, free: 403.6 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005905/2.306, allocations: 3.679 MB / 1.333 GB, free: 401.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.043e-05/2.306, allocations: 14.36 kB / 1.333 GB, free: 401.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.009525/2.315, allocations: 4.253 MB / 1.337 GB, free: 400 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/2.316, allocations: 45.33 kB / 1.337 GB, free: 399.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.455e-05/2.316, allocations: 35.16 kB / 1.337 GB, free: 399.9 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.977e-05/2.316, allocations: 49.34 kB / 1.337 GB, free: 399.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/2.318, allocations: 0.7159 MB / 1.338 GB, free: 399.9 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.665e-05/2.318, allocations: 66.83 kB / 1.338 GB, free: 399.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00471/2.323, allocations: 437.3 kB / 1.338 GB, free: 399.8 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002576/2.323, allocations: 139.4 kB / 1.338 GB, free: 399.8 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.0008114/2.324, allocations: 370.5 kB / 1.339 GB, free: 399.5 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001014/2.325, allocations: 431.8 kB / 1.339 GB, free: 399.3 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005518/2.331, allocations: 2.298 MB / 1.341 GB, free: 398.4 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003818/2.335, allocations: 1.902 MB / 1.343 GB, free: 397.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/2.335, allocations: 3.75 kB / 1.343 GB, free: 397.6 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/2.337, allocations: 0.7184 MB / 1.344 GB, free: 397.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006451/2.338, allocations: 27.44 kB / 1.344 GB, free: 397.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002459/2.34, allocations: 185.9 kB / 1.344 GB, free: 397.1 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/2.34, allocations: 71.05 kB / 1.344 GB, free: 397.1 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004933/2.345, allocations: 2.024 MB / 1.346 GB, free: 396.4 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006593/2.352, allocations: 3.212 MB / 1.349 GB, free: 395.1 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001818/2.354, allocations: 0.8181 MB / 1.35 GB, free: 394.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.004738/2.358, allocations: 3.118 MB / 1.353 GB, free: 392.3 MB / 0.9512 GB Notification: Performance of Backend: time 4.71e-07/2.358, allocations: 2.844 kB / 1.353 GB, free: 392.3 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01299/2.371, allocations: 5.54 MB / 1.359 GB, free: 387.5 MB / 0.9512 GB Notification: Performance of SimCode: time 0.01776/2.389, allocations: 10.08 MB / 1.368 GB, free: 377.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.134/2.523, allocations: 99.93 MB / 1.466 GB, free: 278.8 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)