Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Systems.HVAC.Production.Boiler.Boiler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.Systems.HVAC.Production.Boiler.Boiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Production.Boiler.Boiler") translateModel(BuildSysPro.Systems.HVAC.Production.Boiler.Boiler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=16,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Production.Boiler.Boiler") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6286/0.6286, allocations: 117.9 MB / 133.9 MB, free: 4.516 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009355/0.0009355, allocations: 178.7 kB / 161.7 MB, free: 2.734 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.003/2.003, allocations: 205.3 MB / 394.8 MB, free: 20.96 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008806/0.0008808, allocations: 99.81 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004405, allocations: 8 kB / 0.5423 GB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3876, allocations: 74.52 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1338/0.5214, allocations: 102.5 MB / 0.7152 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.5217, allocations: 59.91 kB / 0.7152 GB, free: 15.45 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/BaseClasses/Media/OLD_THERMHYGAERO/AirFunctions/Psat.mo:3:3-3:24:writable] Warning: Invalid public variable AH, function variables that are not input/output must be protected. Notification: Performance of FrontEnd - DAE generated: time 0.01737/0.5391, allocations: 5.829 MB / 0.7209 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5392, allocations: 0 / 0.7209 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.645e-05/0.5392, allocations: 4 kB / 0.7209 GB, free: 9.613 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001069/0.5403, allocations: 0.5952 MB / 0.7215 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5403, allocations: 8.031 kB / 0.7215 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001266/0.5405, allocations: 40.5 kB / 0.7215 GB, free: 8.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.5407, allocations: 211.6 kB / 0.7217 GB, free: 8.664 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.664e-05/0.5407, allocations: 20.7 kB / 0.7218 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.78e-05/0.5408, allocations: 24.38 kB / 0.7218 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.5413, allocations: 226.3 kB / 0.722 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.5414, allocations: 4.188 kB / 0.722 GB, free: 8.391 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.5414, allocations: 15.92 kB / 0.722 GB, free: 8.375 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5414, allocations: 4 kB / 0.722 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.5418, allocations: 168.9 kB / 0.7222 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/0.545, allocations: 1.047 MB / 0.7232 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.5455, allocations: 386.6 kB / 0.7236 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003555/0.5459, allocations: 324.8 kB / 0.7239 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.5459, allocations: 4 kB / 0.7239 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003283/0.5463, allocations: 168.1 kB / 0.7241 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 2.214e-06/0.5463, allocations: 0 / 0.7241 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26): time 0.001063/0.5473, allocations: 0.5297 MB / 0.7246 GB, free: 5.613 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.5474, allocations: 97.03 kB / 0.7247 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.5476, allocations: 209 kB / 0.7249 GB, free: 5.285 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.544e-05/0.5477, allocations: 37.69 kB / 0.7249 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.5478, allocations: 163.9 kB / 0.7251 GB, free: 5.078 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.797e-05/0.5479, allocations: 86.89 kB / 0.7251 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.952e-05/0.5479, allocations: 8 kB / 0.7251 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5481, allocations: 330.8 kB / 0.7255 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.5483, allocations: 95.73 kB / 0.7256 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.5485, allocations: 152.5 kB / 0.7257 GB, free: 4.383 MB / 0.4948 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/FrontEnd/Inline.mo:1144:9-1144:99:writable] Error: Internal error Unknown element: BuildSysPro.BaseClasses.Media.OLD_THERMHYGAERO.AirConstants.CteAH AH; Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.5499, allocations: 0.6273 MB / 0.7263 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5499, allocations: 0 / 0.7263 GB, free: 3.703 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006942/0.5506, allocations: 394.4 kB / 0.7267 GB, free: 3.305 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.801e-05/0.5507, allocations: 45.62 kB / 0.7267 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5507, allocations: 0 / 0.7267 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/0.5508, allocations: 40.78 kB / 0.7268 GB, free: 3.211 MB / 0.4948 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/FrontEnd/Inline.mo:1144:9-1144:99:writable] Error: Internal error Unknown element: BuildSysPro.BaseClasses.Media.OLD_THERMHYGAERO.AirConstants.CteAH AH; Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.5524, allocations: 187.9 kB / 0.7269 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.5538, allocations: 1.933 MB / 0.7288 GB, free: 0.9375 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.5542, allocations: 55.91 kB / 0.7289 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-05/0.5542, allocations: 23.94 kB / 0.7289 GB, free: 0.8594 MB / 0.4948 GB Warning: Assuming fixed start value for the following 4 variables: NbCycle:DISCRETE(start = 0 fixed = true ) type: Integer CpEau.T:VARIABLE(min = max(max(0.0, 0.0), max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real TimeF:DISCRETE(start = 0.0 unit = "s" fixed = true protected = true ) "End of the boiler cycle" type: Real Time0:DISCRETE(start = 0.0 unit = "s" fixed = true protected = true ) "Beginning of the boiler cycle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.NbCycle,NbCycle,$whenCondition3,$whenCondition2,$PRE.TimeF,$PRE.Time0,$whenCondition1,Time0,TimeF) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003156/0.5546, allocations: 214 kB / 0.7291 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.5546, allocations: 31.72 kB / 0.7291 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009022/0.5555, allocations: 419 kB / 0.7295 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.5555, allocations: 0 / 0.7295 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5556, allocations: 0 / 0.7295 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5556, allocations: 0 / 0.7295 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.5568, allocations: 0.7552 MB / 0.7303 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.5568, allocations: 8 kB / 0.7303 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.859e-05/0.5569, allocations: 11.98 kB / 0.7303 GB, free: 15.34 MB / 0.5105 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/FrontEnd/Inline.mo:1144:9-1144:99:writable] Error: Internal error Unknown element: BuildSysPro.BaseClasses.Media.OLD_THERMHYGAERO.AirConstants.CteAH AH; Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/0.5573, allocations: 81.64 kB / 0.7304 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.5574, allocations: 7.938 kB / 0.7304 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.5586, allocations: 1.876 MB / 0.7322 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5587, allocations: 0 / 0.7322 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5598, allocations: 0.6351 MB / 0.7328 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.566e-05/0.5599, allocations: 108.7 kB / 0.7329 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.56, allocations: 12 kB / 0.733 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/0.5603, allocations: 31.97 kB / 0.733 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.5605, allocations: 23.92 kB / 0.733 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.5605, allocations: 20.05 kB / 0.733 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001464/0.5606, allocations: 148.5 kB / 0.7332 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5607, allocations: 4 kB / 0.7332 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004623/0.5611, allocations: 116 kB / 0.7333 GB, free: 12.07 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CpEau.T) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,Time0,TimeF,NbCycle) * Number of discrete states: 1 (NbCycle) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002521/0.5614, allocations: 155.1 kB / 0.7334 GB, free: 11.91 MB / 0.5105 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/FrontEnd/Inline.mo:1144:9-1144:99:writable] Error: Internal error Unknown element: BuildSysPro.BaseClasses.Media.OLD_THERMHYGAERO.AirConstants.CteAH AH; Notification: Performance of simCode: created initialization part: time 0.001962/0.5634, allocations: 0.8429 MB / 0.7343 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.5634, allocations: 4 kB / 0.7343 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007105/0.5641, allocations: 0.6034 MB / 0.7348 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.5645, allocations: 36.86 kB / 0.7349 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.5657, allocations: 0.7271 MB / 0.7356 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.566, allocations: 0.7479 MB / 0.7363 GB, free: 8.844 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.5661, allocations: 21.55 kB / 0.7363 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.794e-05/0.5662, allocations: 15.44 kB / 0.7364 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.5662, allocations: 0 / 0.7364 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of Templates: time 0.008336/0.5745, allocations: 3.828 MB / 0.7401 GB, free: 4.996 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.Systems.HVAC.Production.Boiler.Boiler.makefile (rm -f BuildSysPro_BuildSysPro.Systems.HVAC.Production.Boiler.Boiler.pipe ; mkfifo BuildSysPro_BuildSysPro.Systems.HVAC.Production.Boiler.Boiler.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.Systems.HVAC.Production.Boiler.Boiler.pipe >> ../files/BuildSysPro_BuildSysPro.Systems.HVAC.Production.Boiler.Boiler.sim & ./BuildSysPro_BuildSysPro.Systems.HVAC.Production.Boiler.Boiler -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.Systems.HVAC.Production.Boiler.Boiler.pipe 2>&1)