Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.36/1.36, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 171.5 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.765/1.765, allocations: 205 MB / 0.5767 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007525/0.0007525, allocations: 85.36 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 8.906 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2328, allocations: 105.4 MB / 0.8968 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.9431/1.176, allocations: 378 MB / 1.266 GB, free: 13.75 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.07169/1.248, allocations: 47.95 MB / 1.313 GB, free: 13.67 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009246/1.257, allocations: 151.1 kB / 1.313 GB, free: 13.52 MB / 0.8386 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.01044/1.267, allocations: 2.383 MB / 1.315 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.02648/1.294, allocations: 7.156 MB / 1.322 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0106/1.305, allocations: 3.48 MB / 1.326 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.02033/1.325, allocations: 15.47 MB / 1.341 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/1.336, allocations: 4.513 MB / 1.345 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01449/1.35, allocations: 5.124 MB / 1.35 GB, free: 7.234 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00897/1.359, allocations: 3.594 MB / 1.354 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.001219/1.361, allocations: 172 kB / 1.354 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01429/1.375, allocations: 6.831 MB / 1.36 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.002471/1.377, allocations: 1.366 MB / 1.362 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.005135/1.383, allocations: 2.35 MB / 1.364 GB, free: 8.891 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.01885/1.401, allocations: 9.228 MB / 1.373 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.401, allocations: 0 / 1.373 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.836e-06/1.401, allocations: 0 / 1.373 GB, free: 15.63 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002296/1.402, allocations: 0 / 1.373 GB, free: 15.63 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 858 * Number of variables: 858 Notification: Performance of Generate backend data structure: time 0.01128/1.413, allocations: 4.708 MB / 1.378 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/1.413, allocations: 12.03 kB / 1.378 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01016/1.423, allocations: 1.871 MB / 1.379 GB, free: 8.945 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008288/1.432, allocations: 3.519 MB / 1.383 GB, free: 5.363 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001703/1.433, allocations: 0.6892 MB / 1.384 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001187/1.434, allocations: 352 kB / 1.384 GB, free: 4.305 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009362/1.444, allocations: 4.637 MB / 1.388 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.239e-05/1.444, allocations: 3.938 kB / 1.388 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003137/1.444, allocations: 144 kB / 1.389 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/1.444, allocations: 134.5 kB / 1.389 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009155/1.454, allocations: 4.222 MB / 1.393 GB, free: 11.06 MB / 0.9167 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.5619/2.015, allocations: 18.77 MB / 1.411 GB, free: 360.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007555/2.023, allocations: 2.076 MB / 1.413 GB, free: 359.9 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004676/2.028, allocations: 1.086 MB / 1.414 GB, free: 359.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00117/2.029, allocations: 453 kB / 1.415 GB, free: 359.5 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005613/2.035, allocations: 1.272 MB / 1.416 GB, free: 359.4 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003229/2.038, allocations: 178.1 kB / 1.416 GB, free: 359.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=135): time 2.421e-05/2.038, allocations: 2.25 kB / 1.416 GB, free: 359.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=135): time 0.0164/2.054, allocations: 3.297 MB / 1.419 GB, free: 359.3 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/2.054, allocations: 149.9 kB / 1.419 GB, free: 359.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01318/2.068, allocations: 3.688 MB / 1.423 GB, free: 358.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005361/2.068, allocations: 60.61 kB / 1.423 GB, free: 358.5 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002865/2.071, allocations: 2.011 MB / 1.425 GB, free: 357.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007705/2.072, allocations: 467.7 kB / 1.426 GB, free: 356.7 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/2.072, allocations: 158.1 kB / 1.426 GB, free: 356.7 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 5.959e-05/2.073, allocations: 302.4 kB / 1.426 GB, free: 356.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0048/2.077, allocations: 1.187 MB / 1.427 GB, free: 356.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005381/2.083, allocations: 1.866 MB / 1.429 GB, free: 354.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008534/2.091, allocations: 2.773 MB / 1.432 GB, free: 353.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.03e-05/2.091, allocations: 7.688 kB / 1.432 GB, free: 353.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009036/2.1, allocations: 3.343 MB / 1.435 GB, free: 352.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004402/2.101, allocations: 0.5988 MB / 1.436 GB, free: 351.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/2.101, allocations: 15.81 kB / 1.436 GB, free: 351.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-05/2.101, allocations: 23.81 kB / 1.436 GB, free: 351.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002387/2.103, allocations: 0.572 MB / 1.436 GB, free: 351.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.984e-05/2.103, allocations: 39.09 kB / 1.436 GB, free: 351.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004854/2.108, allocations: 0.6273 MB / 1.437 GB, free: 351.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/2.108, allocations: 91.89 kB / 1.437 GB, free: 351.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/2.109, allocations: 5.969 kB / 1.437 GB, free: 351.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006036/2.115, allocations: 2.923 MB / 1.44 GB, free: 350.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/2.115, allocations: 15.5 kB / 1.44 GB, free: 350.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/2.115, allocations: 26.62 kB / 1.44 GB, free: 350.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/2.117, allocations: 0.574 MB / 1.44 GB, free: 350 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-05/2.117, allocations: 38.23 kB / 1.44 GB, free: 350 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/2.121, allocations: 0.5393 MB / 1.441 GB, free: 349.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/2.122, allocations: 87.91 kB / 1.441 GB, free: 349.7 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (230): * Single equations (assignments): 226 * 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.002223/2.124, allocations: 1.134 MB / 1.442 GB, free: 349 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006067/2.124, allocations: 366.3 kB / 1.442 GB, free: 348.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005093/2.129, allocations: 2.615 MB / 1.445 GB, free: 347.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004224/2.134, allocations: 2.217 MB / 1.447 GB, free: 346.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/2.134, allocations: 0 / 1.447 GB, free: 346.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002787/2.137, allocations: 0.6646 MB / 1.448 GB, free: 345.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006391/2.137, allocations: 31.39 kB / 1.448 GB, free: 345.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003056/2.14, allocations: 395.7 kB / 1.448 GB, free: 345.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/2.14, allocations: 85.62 kB / 1.448 GB, free: 345.3 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005481/2.146, allocations: 2.365 MB / 1.451 GB, free: 343.3 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006668/2.153, allocations: 3.771 MB / 1.454 GB, free: 339.5 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001874/2.155, allocations: 0.9839 MB / 1.455 GB, free: 338.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004076/2.159, allocations: 2.568 MB / 1.458 GB, free: 336 MB / 0.9167 GB Notification: Performance of Backend: time 8.72e-07/2.159, allocations: 0 / 1.458 GB, free: 336 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01071/2.169, allocations: 4.492 MB / 1.462 GB, free: 331.7 MB / 0.9167 GB Notification: Performance of SimCode: time 0.01499/2.184, allocations: 10.24 MB / 1.472 GB, free: 321.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.1275/2.312, allocations: 92.96 MB / 1.563 GB, free: 229.1 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)