Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 108.9 kB / 17.04 MB, free: 5.812 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.00141/0.00141, allocations: 195 kB / 17.98 MB, free: 5.027 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.277/1.277, 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.679/0.679, allocations: 115.1 MB / 407 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3349, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7111/1.046, allocations: 380.1 MB / 0.9287 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.06324/1.109, allocations: 46.52 MB / 0.9742 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009018/1.118, allocations: 179.1 kB / 0.9743 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01685/1.135, allocations: 8.592 MB / 0.9827 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01927/1.155, allocations: 7.334 MB / 0.9899 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.009538/1.164, allocations: 3.859 MB / 0.9937 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0246/1.189, allocations: 17.12 MB / 1.01 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008777/1.198, allocations: 5.582 MB / 1.016 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01357/1.211, allocations: 6.298 MB / 1.022 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009323/1.22, allocations: 3.706 MB / 1.026 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.002839/1.223, allocations: 0.4922 MB / 1.026 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4452/1.669, allocations: 6.328 MB / 1.032 GB, free: 28.8 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.004421/1.673, allocations: 1.982 MB / 1.034 GB, free: 28.8 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.009465/1.682, allocations: 3.135 MB / 1.037 GB, free: 28.8 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02362/1.706, allocations: 10.31 MB / 1.047 GB, free: 28.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.706, allocations: 0.6875 kB / 1.047 GB, free: 28.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.272e-06/1.706, allocations: 0.9062 kB / 1.047 GB, free: 28.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002942/1.706, allocations: 0 / 1.047 GB, free: 28.25 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.02094/1.727, allocations: 6.444 MB / 1.054 GB, free: 25.46 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/1.728, allocations: 9.719 kB / 1.054 GB, free: 25.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/1.74, allocations: 2.013 MB / 1.056 GB, free: 25.14 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0159/1.756, allocations: 5.776 MB / 1.061 GB, free: 24.2 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004853/1.757, allocations: 385 kB / 1.062 GB, free: 24.07 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/1.758, allocations: 342.5 kB / 1.062 GB, free: 24.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01076/1.769, allocations: 4.512 MB / 1.066 GB, free: 23.68 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.373e-05/1.769, allocations: 4.781 kB / 1.066 GB, free: 23.68 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005053/1.77, allocations: 143.5 kB / 1.066 GB, free: 23.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001944/1.77, allocations: 137.2 kB / 1.067 GB, free: 23.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009752/1.78, allocations: 3.953 MB / 1.07 GB, free: 23.6 MB / 0.7325 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.03489/1.815, allocations: 19.52 MB / 1.09 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/1.818, allocations: 1.741 MB / 1.091 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001795/1.82, allocations: 0.9039 MB / 1.092 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/1.821, allocations: 410.4 kB / 1.093 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002214/1.823, allocations: 1.044 MB / 1.094 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=127): time 2.966e-06/1.823, allocations: 0 / 1.094 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=127): time 0.007857/1.831, allocations: 2.889 MB / 1.096 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/1.831, allocations: 146.1 kB / 1.096 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008212/1.839, allocations: 4.625 MB / 1.101 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006677/1.84, allocations: 62.14 kB / 1.101 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002433/1.842, allocations: 2.428 MB / 1.103 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007016/1.843, allocations: 471.8 kB / 1.104 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/1.844, allocations: 0.6782 MB / 1.105 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 6.616e-05/1.844, allocations: 303.4 kB / 1.105 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/1.847, allocations: 1.368 MB / 1.106 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00337/1.851, allocations: 2.502 MB / 1.109 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005365/1.856, allocations: 3.674 MB / 1.112 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-05/1.856, allocations: 10.94 kB / 1.112 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.009222/1.865, allocations: 4.247 MB / 1.116 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.275e-05/1.865, allocations: 46.53 kB / 1.116 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.884e-05/1.866, allocations: 38.03 kB / 1.116 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.495e-05/1.866, allocations: 57.25 kB / 1.116 GB, free: 7.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00271/1.868, allocations: 0.7164 MB / 1.117 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.167e-05/1.868, allocations: 74.47 kB / 1.117 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005016/1.873, allocations: 0.517 MB / 1.118 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003664/1.874, allocations: 143.4 kB / 1.118 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005778/1.88, allocations: 2.514 MB / 1.12 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003411/1.883, allocations: 2.509 MB / 1.123 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005299/1.888, allocations: 3.676 MB / 1.126 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.306e-05/1.888, allocations: 15.66 kB / 1.126 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.008523/1.897, allocations: 4.242 MB / 1.131 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-05/1.897, allocations: 46.7 kB / 1.131 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.536e-05/1.897, allocations: 35 kB / 1.131 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.445e-05/1.897, allocations: 46.62 kB / 1.131 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/1.9, allocations: 0.7224 MB / 1.131 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.058e-05/1.9, allocations: 72.25 kB / 1.131 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005283/1.905, allocations: 430.6 kB / 1.132 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005296/1.906, allocations: 143.2 kB / 1.132 GB, free: 3.887 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * 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 (352): * Single equations (assignments): 346 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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.0009495/1.907, allocations: 368.4 kB / 1.132 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00129/1.908, allocations: 431.5 kB / 1.133 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005309/1.913, allocations: 2.296 MB / 1.135 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.913, allocations: 11.59 kB / 1.135 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/1.913, allocations: 6.172 kB / 1.135 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003625/1.917, allocations: 1.895 MB / 1.137 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01945/1.937, allocations: 6.667 MB / 1.143 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.643e-05/1.937, allocations: 15.94 kB / 1.143 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/1.938, allocations: 320.8 kB / 1.144 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/1.939, allocations: 58.39 kB / 1.144 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001875/1.939, allocations: 41.98 kB / 1.144 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/1.94, allocations: 1.545 MB / 1.145 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.095e-05/1.94, allocations: 21 kB / 1.145 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008061/1.948, allocations: 3.356 MB / 1.149 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003284/1.952, allocations: 0.7229 MB / 1.149 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001816/1.954, allocations: 43.19 kB / 1.149 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003839/1.957, allocations: 178.5 kB / 1.15 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/1.958, allocations: 118.4 kB / 1.15 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/1.958, allocations: 66.09 kB / 1.15 GB, free: 8.188 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.008438/1.966, allocations: 3.094 MB / 1.153 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/1.966, allocations: 0 / 1.153 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.01194/1.978, allocations: 2.298 MB / 1.155 GB, free: 3.828 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * 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 (125): * Single equations (assignments): 122 * 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.002249/1.981, allocations: 0.6469 MB / 1.156 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01158/1.992, allocations: 4.846 MB / 1.16 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/1.992, allocations: 0 / 1.16 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002742/1.995, allocations: 1.042 MB / 1.161 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01336/2.008, allocations: 2.142 MB / 1.163 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02439/2.033, allocations: 8.848 MB / 1.172 GB, free: 4.43 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005374/2.038, allocations: 3.022 MB / 1.175 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.006764/2.045, allocations: 1.304 MB / 1.176 GB, free: 72 kB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001671/2.047, allocations: 311.4 kB / 1.177 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of SimCode: time 1.603e-06/2.047, allocations: 0 / 1.177 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.1244/2.171, allocations: 74.45 MB / 1.249 GB, free: 6.492 MB / 0.8419 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)