Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 115.5 kB / 17.08 MB, free: 6.012 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.001265/0.001265, allocations: 196.1 kB / 18.02 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7368/0.7368, allocations: 115.3 MB / 407.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 70.92 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1897, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.9042/1.094, allocations: 342.8 MB / 0.9675 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04995/1.144, allocations: 38.37 MB / 1.005 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00591/1.15, allocations: 139.2 kB / 1.005 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00926/1.159, allocations: 3.152 MB / 1.008 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01623/1.175, allocations: 5.936 MB / 1.014 GB, free: 5.449 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008632/1.184, allocations: 3.131 MB / 1.017 GB, free: 2.344 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0179/1.202, allocations: 11.47 MB / 1.028 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007739/1.21, allocations: 4.22 MB / 1.032 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01169/1.222, allocations: 4.99 MB / 1.037 GB, free: 13.53 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006225/1.228, allocations: 2.775 MB / 1.04 GB, free: 10.76 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001647/1.229, allocations: 384 kB / 1.04 GB, free: 10.39 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/1.241, allocations: 5.313 MB / 1.046 GB, free: 5.062 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002436/1.243, allocations: 1.398 MB / 1.047 GB, free: 3.66 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004834/1.248, allocations: 2.267 MB / 1.049 GB, free: 1.383 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.4878/1.736, allocations: 7.707 MB / 1.057 GB, free: 36.33 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/1.736, allocations: 0.9375 kB / 1.057 GB, free: 36.33 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.114e-06/1.736, allocations: 0 / 1.057 GB, free: 36.33 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002209/1.736, allocations: 0.75 kB / 1.057 GB, free: 36.33 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.01596/1.752, allocations: 4.794 MB / 1.061 GB, free: 34.34 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/1.753, allocations: 10.75 kB / 1.061 GB, free: 34.34 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/1.763, allocations: 1.489 MB / 1.063 GB, free: 34.11 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00918/1.772, allocations: 3.902 MB / 1.067 GB, free: 33.39 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/1.772, allocations: 286 kB / 1.067 GB, free: 33.29 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/1.773, allocations: 260.6 kB / 1.067 GB, free: 33.29 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008251/1.782, allocations: 3.37 MB / 1.07 GB, free: 32.99 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.335e-05/1.782, allocations: 6 kB / 1.07 GB, free: 32.99 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003613/1.782, allocations: 105.2 kB / 1.071 GB, free: 32.99 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/1.782, allocations: 105.6 kB / 1.071 GB, free: 32.98 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007349/1.789, allocations: 2.981 MB / 1.074 GB, free: 32.95 MB / 0.795 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.02478/1.814, allocations: 14.56 MB / 1.088 GB, free: 25.81 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003596/1.818, allocations: 1.58 MB / 1.089 GB, free: 25.59 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00163/1.82, allocations: 0.6943 MB / 1.09 GB, free: 25.57 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004036/1.82, allocations: 304.3 kB / 1.09 GB, free: 25.29 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001877/1.822, allocations: 0.8031 MB / 1.091 GB, free: 25.21 MB / 0.795 GB Notification: Performance of pre-optimization done (n=103): time 3.798e-06/1.822, allocations: 0 / 1.091 GB, free: 25.21 MB / 0.795 GB Notification: Performance of matching and sorting (n=103): time 0.006222/1.828, allocations: 2.188 MB / 1.093 GB, free: 24.91 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/1.828, allocations: 118.8 kB / 1.093 GB, free: 24.79 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00665/1.835, allocations: 3.191 MB / 1.096 GB, free: 24.5 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.000374/1.835, allocations: 53.48 kB / 1.096 GB, free: 24.47 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001807/1.837, allocations: 1.726 MB / 1.098 GB, free: 23.86 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005231/1.838, allocations: 374.1 kB / 1.098 GB, free: 23.63 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/1.839, allocations: 471 kB / 1.099 GB, free: 23.59 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.036e-05/1.839, allocations: 304.8 kB / 1.099 GB, free: 23.29 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002277/1.841, allocations: 0.9328 MB / 1.1 GB, free: 23.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/1.844, allocations: 1.697 MB / 1.102 GB, free: 22.38 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004232/1.848, allocations: 2.491 MB / 1.104 GB, free: 21.53 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.114e-05/1.848, allocations: 8.75 kB / 1.104 GB, free: 21.53 MB / 0.795 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006867/1.855, allocations: 2.919 MB / 1.107 GB, free: 21.24 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.204e-05/1.855, allocations: 47.73 kB / 1.107 GB, free: 21.2 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.937e-05/1.855, allocations: 21.44 kB / 1.107 GB, free: 21.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.177e-05/1.855, allocations: 32.69 kB / 1.107 GB, free: 21.2 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/1.857, allocations: 0.5075 MB / 1.108 GB, free: 21.2 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-05/1.857, allocations: 52.36 kB / 1.108 GB, free: 21.19 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003993/1.861, allocations: 382 kB / 1.108 GB, free: 21.05 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003447/1.862, allocations: 100.6 kB / 1.108 GB, free: 21.05 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004189/1.866, allocations: 1.731 MB / 1.11 GB, free: 20.95 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002719/1.869, allocations: 1.693 MB / 1.112 GB, free: 20.03 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004222/1.873, allocations: 2.493 MB / 1.114 GB, free: 19.14 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.382e-05/1.873, allocations: 8.875 kB / 1.114 GB, free: 19.14 MB / 0.795 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.006877/1.88, allocations: 2.918 MB / 1.117 GB, free: 18.84 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/1.88, allocations: 39.89 kB / 1.117 GB, free: 18.81 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.724e-05/1.88, allocations: 22.22 kB / 1.117 GB, free: 18.81 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.748e-05/1.88, allocations: 34.06 kB / 1.117 GB, free: 18.81 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/1.882, allocations: 0.5032 MB / 1.117 GB, free: 18.8 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.788e-05/1.882, allocations: 45.84 kB / 1.117 GB, free: 18.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/1.886, allocations: 323.1 kB / 1.118 GB, free: 18.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003386/1.887, allocations: 100.8 kB / 1.118 GB, free: 18.72 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (247): * Single equations (assignments): 243 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0007219/1.887, allocations: 314.8 kB / 1.118 GB, free: 18.53 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.888, allocations: 309.6 kB / 1.118 GB, free: 18.36 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/1.893, allocations: 1.687 MB / 1.12 GB, free: 18.23 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/1.893, allocations: 10.81 kB / 1.12 GB, free: 18.23 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/1.893, allocations: 3.938 kB / 1.12 GB, free: 18.23 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002779/1.896, allocations: 1.3 MB / 1.121 GB, free: 18.04 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/1.907, allocations: 4.561 MB / 1.126 GB, free: 17.29 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.781e-05/1.907, allocations: 7.344 kB / 1.126 GB, free: 17.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/1.908, allocations: 244.6 kB / 1.126 GB, free: 17.28 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000233/1.908, allocations: 51.98 kB / 1.126 GB, free: 17.27 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/1.909, allocations: 39.28 kB / 1.126 GB, free: 17.27 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009877/1.91, allocations: 1.544 MB / 1.128 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/1.91, allocations: 10.94 kB / 1.128 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005364/1.915, allocations: 2.504 MB / 1.13 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/1.917, allocations: 0.5541 MB / 1.131 GB, free: 15.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001085/1.918, allocations: 32.47 kB / 1.131 GB, free: 15.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002823/1.921, allocations: 144 kB / 1.131 GB, free: 15.05 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/1.921, allocations: 87.19 kB / 1.131 GB, free: 15.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001563/1.921, allocations: 51.44 kB / 1.131 GB, free: 15.04 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.004772/1.926, allocations: 2.154 MB / 1.133 GB, free: 14.89 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.61e-07/1.926, allocations: 0 / 1.133 GB, free: 14.89 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007544/1.934, allocations: 1.694 MB / 1.135 GB, free: 14.64 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (102): * Single equations (assignments): 99 * 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.001933/1.936, allocations: 0.5587 MB / 1.135 GB, free: 14.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.007807/1.943, allocations: 3.387 MB / 1.139 GB, free: 14.29 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/1.943, allocations: 1.422 kB / 1.139 GB, free: 14.29 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/1.945, allocations: 0.7902 MB / 1.139 GB, free: 14.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008968/1.954, allocations: 1.506 MB / 1.141 GB, free: 13.9 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01522/1.97, allocations: 6.339 MB / 1.147 GB, free: 11.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00314/1.973, allocations: 2.266 MB / 1.149 GB, free: 10.43 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001257/1.974, allocations: 234.7 kB / 1.149 GB, free: 10.21 MB / 0.795 GB Notification: Performance of SimCode: time 1.292e-06/1.974, allocations: 0 / 1.149 GB, free: 10.21 MB / 0.795 GB Notification: Performance of Templates: time 0.09433/2.068, allocations: 62.77 MB / 1.211 GB, free: 14.71 MB / 0.8575 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)