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.36/1.36, allocations: 252 MB / 268 MB, free: 10.86 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.001036/0.001036, allocations: 182.3 kB / 327.6 MB, free: 2.113 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.617/1.617, allocations: 205.4 MB / 0.5786 GB, free: 20.14 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.0007956/0.0007955, allocations: 83.59 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003243, allocations: 13.23 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1948, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8681/1.063, allocations: 336.5 MB / 1.23 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.05626/1.119, allocations: 39.41 MB / 1.269 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007011/1.126, allocations: 115.2 kB / 1.269 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.007608/1.134, allocations: 1.982 MB / 1.271 GB, free: 8.059 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.02092/1.155, allocations: 5.66 MB / 1.276 GB, free: 2.379 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.009638/1.165, allocations: 2.801 MB / 1.279 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.01688/1.182, allocations: 11.43 MB / 1.29 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006424/1.188, allocations: 3.44 MB / 1.293 GB, free: 0.6133 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/1.2, allocations: 3.98 MB / 1.297 GB, free: 12.62 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008222/1.208, allocations: 2.675 MB / 1.3 GB, free: 9.945 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.001238/1.21, allocations: 128 kB / 1.3 GB, free: 9.82 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01418/1.224, allocations: 5.716 MB / 1.306 GB, free: 4.09 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.002601/1.226, allocations: 0.9963 MB / 1.307 GB, free: 3.09 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.004217/1.231, allocations: 1.781 MB / 1.308 GB, free: 1.293 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.00994/1.241, allocations: 5.304 MB / 1.314 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/1.241, allocations: 0 / 1.314 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.424e-06/1.241, allocations: 0 / 1.314 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002028/1.241, allocations: 0 / 1.314 GB, free: 11.98 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.009645/1.251, allocations: 3.663 MB / 1.317 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/1.251, allocations: 11.97 kB / 1.317 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008537/1.259, allocations: 1.451 MB / 1.319 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006964/1.266, allocations: 2.649 MB / 1.321 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00153/1.268, allocations: 0.5448 MB / 1.322 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009335/1.269, allocations: 264 kB / 1.322 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008293/1.277, allocations: 3.498 MB / 1.325 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/1.277, allocations: 0 / 1.325 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002939/1.277, allocations: 104 kB / 1.325 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/1.278, allocations: 104.9 kB / 1.325 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008284/1.286, allocations: 3.224 MB / 1.329 GB, free: 12.17 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.02683/1.313, allocations: 14.45 MB / 1.343 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004456/1.317, allocations: 1.881 MB / 1.345 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/1.319, allocations: 0.8184 MB / 1.345 GB, free: 9.934 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004669/1.32, allocations: 312.3 kB / 1.346 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002319/1.322, allocations: 0.9699 MB / 1.347 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001704/1.324, allocations: 134.3 kB / 1.347 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=108): time 4.098e-06/1.324, allocations: 0 / 1.347 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108): time 0.007294/1.331, allocations: 2.521 MB / 1.349 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/1.331, allocations: 123.8 kB / 1.349 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005532/1.337, allocations: 2.858 MB / 1.352 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004162/1.337, allocations: 53.7 kB / 1.352 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001637/1.339, allocations: 1.51 MB / 1.354 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005864/1.339, allocations: 378.6 kB / 1.354 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/1.34, allocations: 24 kB / 1.354 GB, free: 0.9062 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001636/1.34, allocations: 361.9 kB / 1.354 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002582/1.342, allocations: 0.9135 MB / 1.355 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002926/1.345, allocations: 1.435 MB / 1.357 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004829/1.35, allocations: 2.082 MB / 1.359 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.605e-05/1.35, allocations: 4 kB / 1.359 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006856/1.357, allocations: 2.596 MB / 1.361 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004122/1.358, allocations: 475.7 kB / 1.362 GB, free: 8.492 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/1.358, allocations: 12 kB / 1.362 GB, free: 8.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.442e-05/1.358, allocations: 20 kB / 1.362 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/1.36, allocations: 463.3 kB / 1.362 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-05/1.36, allocations: 23.92 kB / 1.362 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004474/1.365, allocations: 0.5076 MB / 1.363 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/1.365, allocations: 79.95 kB / 1.363 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.365, allocations: 8.625 kB / 1.363 GB, free: 7.391 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006095/1.371, allocations: 2.27 MB / 1.365 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.893e-05/1.371, allocations: 12 kB / 1.365 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/1.371, allocations: 23.94 kB / 1.365 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/1.373, allocations: 463.8 kB / 1.365 GB, free: 4.629 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.15e-05/1.373, allocations: 27.92 kB / 1.366 GB, free: 4.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004083/1.377, allocations: 441.4 kB / 1.366 GB, free: 4.172 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002411/1.378, allocations: 79.91 kB / 1.366 GB, free: 4.094 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 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,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.002192/1.38, allocations: 0.8597 MB / 1.367 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007548/1.381, allocations: 288.4 kB / 1.367 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004741/1.385, allocations: 1.958 MB / 1.369 GB, free: 0.957 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.385, allocations: 12 kB / 1.369 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/1.385, allocations: 0 / 1.369 GB, free: 0.9453 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003495/1.389, allocations: 1.536 MB / 1.371 GB, free: 15.38 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/1.4, allocations: 4.956 MB / 1.375 GB, free: 10.24 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.4, allocations: 8 kB / 1.375 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.402, allocations: 272 kB / 1.376 GB, free: 9.965 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000291/1.402, allocations: 56.83 kB / 1.376 GB, free: 9.906 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/1.402, allocations: 35.91 kB / 1.376 GB, free: 9.871 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/1.404, allocations: 1.44 MB / 1.377 GB, free: 8.297 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/1.404, allocations: 11.94 kB / 1.377 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006762/1.41, allocations: 2.955 MB / 1.38 GB, free: 5.23 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001832/1.412, allocations: 0.5481 MB / 1.381 GB, free: 4.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000698/1.413, allocations: 31.98 kB / 1.381 GB, free: 4.629 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003038/1.416, allocations: 315.5 kB / 1.381 GB, free: 4.32 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002542/1.416, allocations: 92.7 kB / 1.381 GB, free: 4.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/1.416, allocations: 47.97 kB / 1.381 GB, free: 4.184 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003874/1.42, allocations: 2.001 MB / 1.383 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/1.42, allocations: 8 kB / 1.383 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004801/1.425, allocations: 1.519 MB / 1.384 GB, free: 0.6562 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.001128/1.426, allocations: 436.1 kB / 1.385 GB, free: 244 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008043/1.434, allocations: 3.184 MB / 1.388 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.46e-05/1.434, allocations: 8.062 kB / 1.388 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002262/1.437, allocations: 0.9192 MB / 1.389 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/1.447, allocations: 1.582 MB / 1.39 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.462, allocations: 7.18 MB / 1.397 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002079/1.464, allocations: 2.117 MB / 1.4 GB, free: 1.086 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.465, allocations: 243.4 kB / 1.4 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of SimCode: time 6.72e-07/1.465, allocations: 0 / 1.4 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of Templates: time 0.5006/1.966, allocations: 58.3 MB / 1.457 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)