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.001291/0.001291, allocations: 117.4 kB / 17.08 MB, free: 5.824 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.001349/0.001349, allocations: 193.8 kB / 18.02 MB, free: 4.961 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.258/1.258, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6914/0.6914, allocations: 115.3 MB / 407.2 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.14 kB / 0.5583 GB, free: 32.19 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.6106/0.7308, allocations: 342.8 MB / 0.9675 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0445/0.7754, allocations: 38.37 MB / 1.005 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005559/0.781, allocations: 139.2 kB / 1.005 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.008559/0.7896, allocations: 3.153 MB / 1.008 GB, free: 11.42 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01544/0.8051, allocations: 5.945 MB / 1.014 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.007801/0.8129, allocations: 3.125 MB / 1.017 GB, free: 2.352 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01635/0.8293, allocations: 11.46 MB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0073/0.8366, allocations: 4.224 MB / 1.032 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/0.8477, allocations: 4.994 MB / 1.037 GB, free: 13.54 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005789/0.8535, allocations: 2.769 MB / 1.04 GB, free: 10.78 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001586/0.8551, allocations: 384 kB / 1.04 GB, free: 10.4 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/0.8661, allocations: 5.312 MB / 1.046 GB, free: 5.078 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002331/0.8685, allocations: 1.398 MB / 1.047 GB, free: 3.676 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.004733/0.8733, allocations: 2.267 MB / 1.049 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.4952/1.368, allocations: 7.705 MB / 1.057 GB, free: 36.19 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/1.369, allocations: 1.188 kB / 1.057 GB, free: 36.19 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/1.369, allocations: 1.297 kB / 1.057 GB, free: 36.19 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001947/1.369, allocations: 0.8438 kB / 1.057 GB, free: 36.19 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.01427/1.383, allocations: 4.793 MB / 1.061 GB, free: 34.2 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/1.383, allocations: 11.38 kB / 1.061 GB, free: 34.2 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009499/1.393, allocations: 1.487 MB / 1.063 GB, free: 33.97 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008239/1.401, allocations: 3.897 MB / 1.067 GB, free: 33.25 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/1.401, allocations: 292.7 kB / 1.067 GB, free: 33.15 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008212/1.402, allocations: 261 kB / 1.067 GB, free: 33.15 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006584/1.409, allocations: 3.37 MB / 1.07 GB, free: 32.85 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.842e-05/1.409, allocations: 1.594 kB / 1.07 GB, free: 32.85 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003053/1.409, allocations: 107.8 kB / 1.071 GB, free: 32.85 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.439e-05/1.409, allocations: 106.2 kB / 1.071 GB, free: 32.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006359/1.415, allocations: 2.981 MB / 1.074 GB, free: 32.81 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.02168/1.437, allocations: 14.57 MB / 1.088 GB, free: 25.67 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003006/1.44, allocations: 1.574 MB / 1.089 GB, free: 25.45 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/1.442, allocations: 0.6905 MB / 1.09 GB, free: 25.43 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/1.442, allocations: 302.6 kB / 1.09 GB, free: 25.15 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001583/1.444, allocations: 0.8078 MB / 1.091 GB, free: 25.07 MB / 0.795 GB Notification: Performance of pre-optimization done (n=103): time 2.625e-06/1.444, allocations: 0 / 1.091 GB, free: 25.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=103): time 0.005519/1.449, allocations: 2.184 MB / 1.093 GB, free: 24.77 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/1.449, allocations: 121.1 kB / 1.093 GB, free: 24.64 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004886/1.454, allocations: 3.193 MB / 1.096 GB, free: 24.36 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0003358/1.454, allocations: 53.44 kB / 1.096 GB, free: 24.33 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/1.456, allocations: 1.725 MB / 1.098 GB, free: 23.72 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/1.456, allocations: 376.9 kB / 1.098 GB, free: 23.49 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000626/1.457, allocations: 469.9 kB / 1.099 GB, free: 23.45 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 4.101e-05/1.457, allocations: 309.5 kB / 1.099 GB, free: 23.15 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/1.459, allocations: 0.934 MB / 1.1 GB, free: 23.13 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/1.461, allocations: 1.695 MB / 1.102 GB, free: 22.24 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/1.464, allocations: 2.491 MB / 1.104 GB, free: 21.39 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-05/1.464, allocations: 7.156 kB / 1.104 GB, free: 21.39 MB / 0.795 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00548/1.47, allocations: 2.911 MB / 1.107 GB, free: 21.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/1.47, allocations: 47.89 kB / 1.107 GB, free: 21.06 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.656e-05/1.47, allocations: 22.28 kB / 1.107 GB, free: 21.06 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.818e-05/1.47, allocations: 36.27 kB / 1.107 GB, free: 21.06 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/1.472, allocations: 0.5066 MB / 1.108 GB, free: 21.05 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.621e-05/1.472, allocations: 45.19 kB / 1.108 GB, free: 21.05 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/1.475, allocations: 393.6 kB / 1.108 GB, free: 20.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/1.475, allocations: 99.23 kB / 1.108 GB, free: 20.91 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003162/1.478, allocations: 1.727 MB / 1.11 GB, free: 20.81 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002045/1.481, allocations: 1.696 MB / 1.112 GB, free: 19.89 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003305/1.484, allocations: 2.498 MB / 1.114 GB, free: 19 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.253e-05/1.484, allocations: 9.719 kB / 1.114 GB, free: 18.99 MB / 0.795 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.005177/1.489, allocations: 2.909 MB / 1.117 GB, free: 18.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/1.489, allocations: 43.67 kB / 1.117 GB, free: 18.67 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/1.489, allocations: 23.06 kB / 1.117 GB, free: 18.67 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.195e-05/1.489, allocations: 34.66 kB / 1.117 GB, free: 18.67 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/1.491, allocations: 0.5051 MB / 1.117 GB, free: 18.66 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.163e-05/1.491, allocations: 51.53 kB / 1.117 GB, free: 18.66 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/1.494, allocations: 317.8 kB / 1.118 GB, free: 18.58 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/1.494, allocations: 97.58 kB / 1.118 GB, free: 18.58 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.000538/1.495, allocations: 323.1 kB / 1.118 GB, free: 18.38 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005209/1.495, allocations: 308.3 kB / 1.118 GB, free: 18.22 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/1.499, allocations: 1.684 MB / 1.12 GB, free: 18.09 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.499, allocations: 11.16 kB / 1.12 GB, free: 18.09 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.499, allocations: 6.562 kB / 1.12 GB, free: 18.08 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002326/1.501, allocations: 1.298 MB / 1.121 GB, free: 17.89 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007904/1.509, allocations: 4.569 MB / 1.126 GB, free: 17.14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.509, allocations: 7.344 kB / 1.126 GB, free: 17.14 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/1.51, allocations: 239.6 kB / 1.126 GB, free: 17.14 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002021/1.511, allocations: 55.34 kB / 1.126 GB, free: 17.12 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-05/1.511, allocations: 38.06 kB / 1.126 GB, free: 17.12 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008516/1.512, allocations: 1.542 MB / 1.128 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/1.512, allocations: 10.88 kB / 1.128 GB, free: 15.77 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/1.516, allocations: 2.508 MB / 1.13 GB, free: 15.19 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.517, allocations: 0.5552 MB / 1.131 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004111/1.518, allocations: 30.88 kB / 1.131 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/1.519, allocations: 140.8 kB / 1.131 GB, free: 14.91 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.52, allocations: 82.94 kB / 1.131 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-05/1.52, allocations: 53.2 kB / 1.131 GB, free: 14.89 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003029/1.523, allocations: 2.155 MB / 1.133 GB, free: 14.75 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.5e-07/1.523, allocations: 0 / 1.133 GB, free: 14.75 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004803/1.528, allocations: 1.69 MB / 1.135 GB, free: 14.49 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.001286/1.529, allocations: 0.5648 MB / 1.135 GB, free: 14.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006032/1.535, allocations: 3.381 MB / 1.139 GB, free: 14.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/1.535, allocations: 3.906 kB / 1.139 GB, free: 14.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001474/1.536, allocations: 0.7915 MB / 1.139 GB, free: 14.01 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006025/1.542, allocations: 1.504 MB / 1.141 GB, free: 13.76 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/1.553, allocations: 6.329 MB / 1.147 GB, free: 11.37 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001653/1.555, allocations: 2.273 MB / 1.149 GB, free: 10.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/1.556, allocations: 241.9 kB / 1.149 GB, free: 10.09 MB / 0.795 GB Notification: Performance of SimCode: time 5.61e-07/1.556, allocations: 4 kB / 1.149 GB, free: 10.08 MB / 0.795 GB Notification: Performance of Templates: time 0.08592/1.642, allocations: 63.28 MB / 1.211 GB, free: 14.2 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)