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.344/1.344, allocations: 251.5 MB / 267.4 MB, free: 10.88 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.00117/0.00117, allocations: 173.6 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.591/1.591, allocations: 205 MB / 0.5766 GB, free: 20.88 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.0007764/0.0007763, allocations: 90.8 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 14.89 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2043, 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.8554/1.06, allocations: 340.9 MB / 1.23 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.05448/1.114, allocations: 39.88 MB / 1.269 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006756/1.121, allocations: 115.3 kB / 1.269 GB, free: 10.85 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.007787/1.129, allocations: 1.978 MB / 1.271 GB, free: 8.863 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.01923/1.148, allocations: 5.665 MB / 1.276 GB, free: 3.18 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.009163/1.157, allocations: 2.794 MB / 1.279 GB, free: 416 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.01557/1.173, allocations: 11.44 MB / 1.29 GB, free: 4.934 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008027/1.181, allocations: 3.419 MB / 1.293 GB, free: 1.43 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/1.192, allocations: 3.968 MB / 1.297 GB, free: 13.45 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008101/1.2, allocations: 2.686 MB / 1.3 GB, free: 10.76 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001388/1.202, allocations: 128 kB / 1.3 GB, free: 10.64 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01443/1.216, allocations: 5.72 MB / 1.306 GB, free: 4.902 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002664/1.219, allocations: 0.9964 MB / 1.307 GB, free: 3.902 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.003923/1.223, allocations: 1.756 MB / 1.308 GB, free: 2.137 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.009183/1.232, allocations: 5.3 MB / 1.313 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.232, allocations: 0 / 1.313 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.154e-06/1.232, allocations: 0 / 1.313 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.000162/1.232, allocations: 3.938 kB / 1.314 GB, free: 12.82 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.009572/1.242, allocations: 3.667 MB / 1.317 GB, free: 9.07 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.242, allocations: 8.031 kB / 1.317 GB, free: 9.062 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008323/1.25, allocations: 1.451 MB / 1.319 GB, free: 7.605 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006984/1.257, allocations: 2.651 MB / 1.321 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001546/1.259, allocations: 0.5447 MB / 1.322 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008162/1.26, allocations: 260 kB / 1.322 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007342/1.267, allocations: 3.491 MB / 1.325 GB, free: 480 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.207e-05/1.267, allocations: 3.938 kB / 1.325 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/1.267, allocations: 108 kB / 1.325 GB, free: 368 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/1.267, allocations: 104.9 kB / 1.325 GB, free: 260 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007321/1.275, allocations: 3.22 MB / 1.329 GB, free: 13.02 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.02475/1.3, allocations: 14.44 MB / 1.343 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004156/1.304, allocations: 1.877 MB / 1.345 GB, free: 11.62 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/1.306, allocations: 0.83 MB / 1.345 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004783/1.306, allocations: 312.2 kB / 1.346 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002161/1.308, allocations: 0.9738 MB / 1.347 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001716/1.31, allocations: 138.3 kB / 1.347 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=108): time 6.121e-06/1.31, allocations: 0 / 1.347 GB, free: 9.293 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108): time 0.00702/1.317, allocations: 2.521 MB / 1.349 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/1.317, allocations: 115.8 kB / 1.349 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005231/1.322, allocations: 2.862 MB / 1.352 GB, free: 3.734 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003911/1.323, allocations: 53.7 kB / 1.352 GB, free: 3.676 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/1.324, allocations: 1.502 MB / 1.354 GB, free: 2.16 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004437/1.325, allocations: 382.6 kB / 1.354 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/1.325, allocations: 121.6 kB / 1.354 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.325, allocations: 309.1 kB / 1.354 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002485/1.328, allocations: 0.9135 MB / 1.355 GB, free: 448 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002808/1.33, allocations: 1.431 MB / 1.357 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004227/1.335, allocations: 2.086 MB / 1.359 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/1.335, allocations: 4 kB / 1.359 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006239/1.341, allocations: 2.581 MB / 1.361 GB, free: 9.945 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003385/1.341, allocations: 483.7 kB / 1.362 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/1.341, allocations: 15.94 kB / 1.362 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.529e-05/1.341, allocations: 20 kB / 1.362 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002198/1.344, allocations: 459.4 kB / 1.362 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.307e-05/1.344, allocations: 27.92 kB / 1.362 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003989/1.348, allocations: 0.509 MB / 1.363 GB, free: 8.285 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/1.348, allocations: 83.91 kB / 1.363 GB, free: 8.203 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.348, allocations: 4 kB / 1.363 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005649/1.354, allocations: 2.27 MB / 1.365 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.993e-05/1.354, allocations: 12 kB / 1.365 GB, free: 5.914 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/1.354, allocations: 20 kB / 1.365 GB, free: 5.895 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/1.356, allocations: 467.8 kB / 1.366 GB, free: 5.438 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.35e-05/1.356, allocations: 19.94 kB / 1.366 GB, free: 5.418 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0037/1.36, allocations: 453.9 kB / 1.366 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/1.36, allocations: 75.91 kB / 1.366 GB, free: 4.902 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.001772/1.361, allocations: 0.8674 MB / 1.367 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007444/1.362, allocations: 284.4 kB / 1.367 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004595/1.367, allocations: 1.951 MB / 1.369 GB, free: 1.766 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.367, allocations: 15.94 kB / 1.369 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.367, allocations: 0 / 1.369 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003408/1.37, allocations: 1.536 MB / 1.371 GB, free: 180 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/1.381, allocations: 4.948 MB / 1.375 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/1.382, allocations: 12 kB / 1.375 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/1.383, allocations: 280.2 kB / 1.376 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002567/1.383, allocations: 56.83 kB / 1.376 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.9e-05/1.383, allocations: 27.98 kB / 1.376 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/1.385, allocations: 1.444 MB / 1.377 GB, free: 9.102 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.385, allocations: 4 kB / 1.377 GB, free: 9.098 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00648/1.391, allocations: 2.959 MB / 1.38 GB, free: 6.043 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/1.393, allocations: 0.5442 MB / 1.381 GB, free: 5.477 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008017/1.394, allocations: 31.98 kB / 1.381 GB, free: 5.445 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002844/1.397, allocations: 315.5 kB / 1.381 GB, free: 5.137 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/1.397, allocations: 92.7 kB / 1.381 GB, free: 5.047 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/1.397, allocations: 51.97 kB / 1.381 GB, free: 4.996 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00373/1.401, allocations: 2.005 MB / 1.383 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6.31e-07/1.401, allocations: 0 / 1.383 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005236/1.406, allocations: 1.519 MB / 1.385 GB, free: 1.473 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001143/1.408, allocations: 439.6 kB / 1.385 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00797/1.415, allocations: 3.184 MB / 1.388 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.031e-05/1.416, allocations: 0 / 1.388 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002358/1.418, allocations: 0.9235 MB / 1.389 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01127/1.429, allocations: 1.584 MB / 1.39 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/1.446, allocations: 7.109 MB / 1.397 GB, free: 4.117 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002773/1.449, allocations: 2.113 MB / 1.399 GB, free: 1.973 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.45, allocations: 239.4 kB / 1.4 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of SimCode: time 1.784e-06/1.45, allocations: 0 / 1.4 GB, free: 1.738 MB / 0.9167 GB Notification: Performance of Templates: time 0.5168/1.967, allocations: 58.3 MB / 1.457 GB, free: 331.2 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)