Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.439/1.439, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.0009658/0.0009659, allocations: 179.9 kB / 326.5 MB, free: 2.688 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.678/1.678, allocations: 205 MB / 0.5766 GB, free: 21.04 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.0008421/0.000842, allocations: 93.83 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003151, allocations: 9.125 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2391, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8989/1.138, allocations: 340.9 MB / 1.23 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.05905/1.197, allocations: 39.88 MB / 1.269 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008834/1.206, allocations: 119.2 kB / 1.269 GB, free: 10.76 MB / 0.7917 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.008019/1.214, allocations: 1.982 MB / 1.271 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01857/1.233, allocations: 5.652 MB / 1.276 GB, free: 3.094 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.009085/1.242, allocations: 2.796 MB / 1.279 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01506/1.257, allocations: 11.46 MB / 1.29 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00592/1.263, allocations: 3.404 MB / 1.293 GB, free: 1.344 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0108/1.274, allocations: 3.972 MB / 1.297 GB, free: 13.36 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006948/1.281, allocations: 2.67 MB / 1.3 GB, free: 10.68 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001021/1.282, allocations: 128 kB / 1.3 GB, free: 10.56 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/1.295, allocations: 5.716 MB / 1.306 GB, free: 4.828 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.001893/1.297, allocations: 0.9964 MB / 1.307 GB, free: 3.828 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003324/1.3, allocations: 1.756 MB / 1.308 GB, free: 2.062 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.01343/1.314, allocations: 7.106 MB / 1.315 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.314, allocations: 0 / 1.315 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.605e-06/1.314, allocations: 4 kB / 1.315 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001879/1.314, allocations: 0 / 1.315 GB, free: 10.93 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 647 * Number of variables: 647 Notification: Performance of Generate backend data structure: time 0.008992/1.323, allocations: 3.659 MB / 1.319 GB, free: 7.188 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/1.323, allocations: 8.031 kB / 1.319 GB, free: 7.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009321/1.332, allocations: 1.455 MB / 1.32 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005799/1.338, allocations: 2.653 MB / 1.323 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001371/1.34, allocations: 0.5486 MB / 1.323 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005613/1.34, allocations: 264 kB / 1.324 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00692/1.347, allocations: 3.49 MB / 1.327 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.986e-05/1.347, allocations: 3.938 kB / 1.327 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/1.347, allocations: 104 kB / 1.327 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/1.348, allocations: 108.9 kB / 1.327 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00701/1.355, allocations: 3.216 MB / 1.33 GB, free: 11.13 MB / 0.8542 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.02241/1.377, allocations: 14.44 MB / 1.344 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003979/1.381, allocations: 1.892 MB / 1.346 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001718/1.383, allocations: 0.8223 MB / 1.347 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000403/1.383, allocations: 304.3 kB / 1.347 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002043/1.385, allocations: 0.9738 MB / 1.348 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001559/1.387, allocations: 134.3 kB / 1.349 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=108): time 4.619e-06/1.387, allocations: 0 / 1.349 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108): time 0.006443/1.393, allocations: 2.521 MB / 1.351 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/1.393, allocations: 119.8 kB / 1.351 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00419/1.397, allocations: 2.866 MB / 1.354 GB, free: 1.84 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001338/1.398, allocations: 53.7 kB / 1.354 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001336/1.399, allocations: 1.502 MB / 1.355 GB, free: 272 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/1.399, allocations: 378.8 kB / 1.356 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/1.4, allocations: 125.6 kB / 1.356 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.4, allocations: 301.1 kB / 1.356 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002386/1.402, allocations: 0.9135 MB / 1.357 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002675/1.405, allocations: 1.433 MB / 1.358 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00412/1.409, allocations: 2.086 MB / 1.361 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.409, allocations: 4 kB / 1.361 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.00568/1.415, allocations: 2.592 MB / 1.363 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003318/1.415, allocations: 479.9 kB / 1.363 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/1.415, allocations: 8 kB / 1.364 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.244e-05/1.415, allocations: 23.94 kB / 1.364 GB, free: 7.371 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/1.417, allocations: 463.4 kB / 1.364 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.64e-05/1.417, allocations: 31.8 kB / 1.364 GB, free: 6.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003428/1.42, allocations: 0.5076 MB / 1.364 GB, free: 6.379 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/1.421, allocations: 79.97 kB / 1.365 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/1.421, allocations: 4.625 kB / 1.365 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004966/1.426, allocations: 2.266 MB / 1.367 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/1.426, allocations: 12 kB / 1.367 GB, free: 4.016 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/1.426, allocations: 20 kB / 1.367 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/1.427, allocations: 467.8 kB / 1.367 GB, free: 3.539 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/1.428, allocations: 23.94 kB / 1.367 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002618/1.43, allocations: 451.9 kB / 1.368 GB, free: 3.074 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/1.43, allocations: 75.91 kB / 1.368 GB, free: 3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (180): * Single equations (assignments): 177 * Array equations: 2 * 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.001482/1.432, allocations: 0.8636 MB / 1.369 GB, free: 2.125 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/1.432, allocations: 280.4 kB / 1.369 GB, free: 1.848 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004026/1.436, allocations: 1.97 MB / 1.371 GB, free: 15.85 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003198/1.439, allocations: 1.528 MB / 1.372 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.439, allocations: 0 / 1.372 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008624/1.44, allocations: 0.5403 MB / 1.373 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000312/1.441, allocations: 24 kB / 1.373 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002046/1.443, allocations: 303.5 kB / 1.373 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/1.443, allocations: 68.91 kB / 1.373 GB, free: 13.33 MB / 0.9011 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004339/1.447, allocations: 1.775 MB / 1.375 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005301/1.453, allocations: 2.824 MB / 1.378 GB, free: 8.711 MB / 0.9011 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001519/1.454, allocations: 0.7455 MB / 1.378 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002866/1.457, allocations: 2.001 MB / 1.38 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of Backend: time 2.1e-07/1.457, allocations: 0 / 1.38 GB, free: 5.969 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008313/1.465, allocations: 3.605 MB / 1.384 GB, free: 2.355 MB / 0.9011 GB Notification: Performance of SimCode: time 0.01202/1.477, allocations: 7.84 MB / 1.392 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of Templates: time 0.5483/2.026, allocations: 72.52 MB / 1.462 GB, free: 328.1 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)