Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.00162/0.00162, allocations: 191.2 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.481/1.481, allocations: 251.6 MB / 0.5089 GB, free: 3.305 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 72.47 kB / 0.6218 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4729, allocations: 104.7 MB / 0.724 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003093/0.476, allocations: 2.075 MB / 0.726 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003849/0.4799, allocations: 3.652 MB / 0.7296 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-05/0.48, allocations: 0 / 0.7296 GB, free: 7.34 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.4803, allocations: 55.69 kB / 0.7296 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.4806, allocations: 99.34 kB / 0.7297 GB, free: 7.188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.4809, allocations: 103.8 kB / 0.7298 GB, free: 7.086 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.4812, allocations: 263 kB / 0.7301 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.4813, allocations: 48.38 kB / 0.7301 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.4816, allocations: 111.6 kB / 0.7302 GB, free: 6.668 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.4817, allocations: 119.5 kB / 0.7303 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.4818, allocations: 12 kB / 0.7304 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.482, allocations: 123.8 kB / 0.7305 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.243e-05/0.482, allocations: 51.77 kB / 0.7305 GB, free: 6.367 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.4821, allocations: 91.45 kB / 0.7306 GB, free: 6.277 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.4824, allocations: 267.1 kB / 0.7309 GB, free: 6.016 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.4825, allocations: 3.984 kB / 0.7309 GB, free: 6.012 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.462e-06/0.4825, allocations: 0 / 0.7309 GB, free: 6.012 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.4825, allocations: 4 kB / 0.7309 GB, free: 6.008 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001034/0.4835, allocations: 0.584 MB / 0.7314 GB, free: 5.375 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.4836, allocations: 8.031 kB / 0.7315 GB, free: 5.367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.4836, allocations: 32.53 kB / 0.7315 GB, free: 5.336 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.484, allocations: 271.5 kB / 0.7317 GB, free: 5.031 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.484, allocations: 12.38 kB / 0.7318 GB, free: 5.02 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.4841, allocations: 8.375 kB / 0.7318 GB, free: 5.012 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.4846, allocations: 172.9 kB / 0.7319 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.4846, allocations: 0 / 0.7319 GB, free: 4.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.4846, allocations: 8 kB / 0.7319 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.4846, allocations: 0 / 0.7319 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006666/0.4853, allocations: 199.8 kB / 0.7321 GB, free: 4.637 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008887/0.4862, allocations: 480.5 kB / 0.7326 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.4866, allocations: 126.4 kB / 0.7327 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/0.4869, allocations: 112.8 kB / 0.7328 GB, free: 3.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009134/0.4879, allocations: 0.5415 MB / 0.7333 GB, free: 3.219 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.4879, allocations: 42.56 kB / 0.7334 GB, free: 3.168 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.4879, allocations: 0 / 0.7334 GB, free: 3.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001152/0.4891, allocations: 349.3 kB / 0.7337 GB, free: 2.82 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.4891, allocations: 51.41 kB / 0.7338 GB, free: 2.758 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.4893, allocations: 238.7 kB / 0.734 GB, free: 2.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.4894, allocations: 29.7 kB / 0.734 GB, free: 2.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.145e-05/0.4895, allocations: 143.9 kB / 0.7342 GB, free: 2.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.4895, allocations: 35.47 kB / 0.7342 GB, free: 2.305 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.005e-05/0.4896, allocations: 33.69 kB / 0.7342 GB, free: 2.266 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.4897, allocations: 330.8 kB / 0.7345 GB, free: 1.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/0.4901, allocations: 91.91 kB / 0.7346 GB, free: 1.844 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.4904, allocations: 99.91 kB / 0.7347 GB, free: 1.746 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.491, allocations: 197.3 kB / 0.7349 GB, free: 1.551 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.491, allocations: 4 kB / 0.7349 GB, free: 1.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007264/0.4918, allocations: 257.2 kB / 0.7352 GB, free: 1.289 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.4918, allocations: 10.19 kB / 0.7352 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4918, allocations: 0 / 0.7352 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4918, allocations: 0 / 0.7352 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.4922, allocations: 47.88 kB / 0.7352 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4922, allocations: 7.938 kB / 0.7352 GB, free: 1.227 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.4924, allocations: 23.97 kB / 0.7352 GB, free: 1.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.4924, allocations: 7.984 kB / 0.7353 GB, free: 1.195 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.0001153/0.4926, allocations: 125.8 kB / 0.7354 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.944e-05/0.4926, allocations: 23.72 kB / 0.7354 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008269/0.4934, allocations: 291 kB / 0.7357 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4935, allocations: 0 / 0.7357 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.4935, allocations: 3.938 kB / 0.7357 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4935, allocations: 3.984 kB / 0.7357 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.4938, allocations: 273.4 kB / 0.7359 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4938, allocations: 3.938 kB / 0.7359 GB, free: 436 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.4941, allocations: 51.95 kB / 0.736 GB, free: 384 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.4941, allocations: 3.984 kB / 0.736 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.4941, allocations: 0 / 0.736 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4942, allocations: 0 / 0.736 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.682e-06/0.4942, allocations: 11.94 kB / 0.736 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007871/0.495, allocations: 355.1 kB / 0.7363 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/0.4951, allocations: 108.8 kB / 0.7365 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.4951, allocations: 4 kB / 0.7365 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.4953, allocations: 27.95 kB / 0.7365 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.4954, allocations: 19.92 kB / 0.7365 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.4955, allocations: 7.984 kB / 0.7365 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001475/0.4956, allocations: 170 kB / 0.7367 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4956, allocations: 0 / 0.7367 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00033/0.496, allocations: 59.84 kB / 0.7367 GB, free: 15.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002458/0.4962, allocations: 135.2 kB / 0.7369 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007519/0.497, allocations: 223.7 kB / 0.7371 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.497, allocations: 0 / 0.7371 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003615/0.4973, allocations: 123.8 kB / 0.7372 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.4978, allocations: 27.55 kB / 0.7372 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.4987, allocations: 490.5 kB / 0.7377 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.499, allocations: 0.7314 MB / 0.7384 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.4991, allocations: 40.83 kB / 0.7384 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.4992, allocations: 19.42 kB / 0.7385 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.4992, allocations: 0 / 0.7385 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of Templates: time 0.005447/0.5047, allocations: 2.472 MB / 0.7409 GB, free: 11.32 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)