Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001105/0.001105, allocations: 111.4 kB / 16.37 MB, free: 6.309 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.001075/0.001075, allocations: 189.8 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.875/1.875, allocations: 292.3 MB / 0.5496 GB, free: 17.44 MB / 462.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.002299/0.002299, allocations: 63.91 kB / 0.6729 GB, free: 5.844 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2386, allocations: 114.5 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.473/1.712, allocations: 379.4 MB / 1.155 GB, free: 17.4 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.06412/1.776, allocations: 47.02 MB / 1.201 GB, free: 17.21 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009189/1.785, allocations: 168.4 kB / 1.201 GB, free: 17.21 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/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.01062/1.796, allocations: 2.812 MB / 1.204 GB, free: 17.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0245/1.821, allocations: 7.259 MB / 1.211 GB, free: 16.85 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01188/1.833, allocations: 3.77 MB / 1.215 GB, free: 16.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.02041/1.853, allocations: 11.48 MB / 1.226 GB, free: 16.7 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00953/1.863, allocations: 5.548 MB / 1.232 GB, free: 15.95 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01858/1.881, allocations: 6.363 MB / 1.238 GB, free: 15.86 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01006/1.891, allocations: 3.608 MB / 1.241 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002513/1.894, allocations: 498.3 kB / 1.242 GB, free: 15.41 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01707/1.911, allocations: 6.161 MB / 1.248 GB, free: 15.35 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.003846/1.915, allocations: 1.716 MB / 1.249 GB, free: 15.14 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00667/1.922, allocations: 2.776 MB / 1.252 GB, free: 14.3 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01854/1.94, allocations: 9.28 MB / 1.261 GB, free: 10.43 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/1.94, allocations: 4 kB / 1.261 GB, free: 10.42 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.244e-06/1.94, allocations: 0 / 1.261 GB, free: 10.42 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002241/1.94, allocations: 0 / 1.261 GB, free: 10.42 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01612/1.957, allocations: 5.641 MB / 1.267 GB, free: 7.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.41e-05/1.957, allocations: 8.188 kB / 1.267 GB, free: 7.328 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/1.967, allocations: 1.785 MB / 1.268 GB, free: 6.578 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00875/1.976, allocations: 3.727 MB / 1.272 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003689/1.977, allocations: 384.8 kB / 1.272 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009501/1.978, allocations: 347.4 kB / 1.273 GB, free: 4.852 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008704/1.986, allocations: 4.467 MB / 1.277 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.997e-05/1.986, allocations: 7.188 kB / 1.277 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003292/1.987, allocations: 138.6 kB / 1.277 GB, free: 2.035 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/1.987, allocations: 142.5 kB / 1.277 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008318/1.995, allocations: 3.893 MB / 1.281 GB, free: 14.02 MB / 0.9356 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.03225/2.027, allocations: 18.75 MB / 1.3 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00408/2.032, allocations: 1.762 MB / 1.301 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/2.034, allocations: 0.9041 MB / 1.302 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000677/2.034, allocations: 411.2 kB / 1.303 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002748/2.037, allocations: 1.064 MB / 1.304 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=129): time 3.717e-06/2.037, allocations: 0 / 1.304 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of matching and sorting (n=129): time 0.009205/2.046, allocations: 2.82 MB / 1.306 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/2.046, allocations: 149.8 kB / 1.307 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007316/2.054, allocations: 3.455 MB / 1.31 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0005727/2.054, allocations: 61.7 kB / 1.31 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.002207/2.057, allocations: 2.132 MB / 1.312 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007005/2.057, allocations: 453.3 kB / 1.312 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007865/2.058, allocations: 494.7 kB / 1.313 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001084/2.058, allocations: 308.4 kB / 1.313 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002654/2.061, allocations: 1.006 MB / 1.314 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003473/2.064, allocations: 2.084 MB / 1.316 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005561/2.07, allocations: 3.008 MB / 1.319 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.741e-05/2.07, allocations: 8 kB / 1.319 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=291) (initialization): time 0.008408/2.078, allocations: 3.309 MB / 1.322 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.086e-05/2.079, allocations: 52.17 kB / 1.322 GB, free: 2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.737e-05/2.079, allocations: 32 kB / 1.322 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.389e-05/2.079, allocations: 44.81 kB / 1.323 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00259/2.081, allocations: 0.6174 MB / 1.323 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.853e-05/2.081, allocations: 63.23 kB / 1.323 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004384/2.086, allocations: 459.2 kB / 1.324 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002926/2.086, allocations: 128 kB / 1.324 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004807/2.091, allocations: 1.921 MB / 1.326 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003259/2.094, allocations: 2.045 MB / 1.328 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005336/2.1, allocations: 2.95 MB / 1.331 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.081e-05/2.1, allocations: 8 kB / 1.331 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=291) (initialization_lambda0): time 0.007855/2.107, allocations: 3.246 MB / 1.334 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/2.108, allocations: 50.67 kB / 1.334 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.651e-05/2.108, allocations: 39.92 kB / 1.334 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.527e-05/2.108, allocations: 44 kB / 1.334 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/2.11, allocations: 0.6135 MB / 1.334 GB, free: 5.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.216e-05/2.11, allocations: 71.47 kB / 1.334 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004282/2.114, allocations: 366.5 kB / 1.335 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/2.115, allocations: 124 kB / 1.335 GB, free: 4.703 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * 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 (287): * Single equations (assignments): 283 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * 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.000728/2.115, allocations: 349 kB / 1.335 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009185/2.116, allocations: 359.5 kB / 1.336 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005488/2.122, allocations: 2.268 MB / 1.338 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003923/2.126, allocations: 1.894 MB / 1.34 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/2.126, allocations: 4 kB / 1.34 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002543/2.128, allocations: 0.6055 MB / 1.34 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008677/2.129, allocations: 23.98 kB / 1.34 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002878/2.132, allocations: 159.8 kB / 1.34 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/2.132, allocations: 77.2 kB / 1.341 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005607/2.138, allocations: 2.001 MB / 1.342 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007798/2.146, allocations: 3.207 MB / 1.346 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001941/2.148, allocations: 0.8221 MB / 1.346 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004364/2.152, allocations: 2.335 MB / 1.349 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of Backend: time 6.71e-07/2.152, allocations: 0 / 1.349 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01283/2.165, allocations: 4.363 MB / 1.353 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of SimCode: time 0.01808/2.183, allocations: 8.409 MB / 1.361 GB, free: 10.07 MB / 1.014 GB Notification: Performance of Templates: time 0.147/2.33, allocations: 84.27 MB / 1.443 GB, free: 6.977 MB / 1.092 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)