Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008638/0.000864, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001022/0.001022, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.57/1.57, allocations: 252 MB / 0.5102 GB, free: 4.777 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.0005544/0.0005549, allocations: 27.28 kB / 0.6243 GB, free: 1.109 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.503/0.5035, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002198/0.5058, allocations: 1.585 MB / 0.7297 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003988/0.5098, allocations: 3.25 MB / 0.7329 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001215/0.5099, allocations: 0 / 0.7329 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.5102, allocations: 39.75 kB / 0.7329 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004333/0.5106, allocations: 111.4 kB / 0.733 GB, free: 6.422 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.34e-05/0.5107, allocations: 27.97 kB / 0.733 GB, free: 6.395 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.511, allocations: 167.2 kB / 0.7332 GB, free: 6.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.5111, allocations: 21.67 kB / 0.7332 GB, free: 6.211 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.5113, allocations: 75.69 kB / 0.7333 GB, free: 6.137 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.5114, allocations: 79.62 kB / 0.7334 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.5115, allocations: 7.938 kB / 0.7334 GB, free: 6.051 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.293e-05/0.5116, allocations: 23.97 kB / 0.7334 GB, free: 6.027 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.5116, allocations: 35.84 kB / 0.7334 GB, free: 5.992 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.5117, allocations: 53.58 kB / 0.7335 GB, free: 5.934 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.5119, allocations: 111.7 kB / 0.7336 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.5119, allocations: 0 / 0.7336 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5119, allocations: 0 / 0.7336 GB, free: 5.824 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.5119, allocations: 0 / 0.7336 GB, free: 5.824 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008251/0.5127, allocations: 0.4945 MB / 0.7341 GB, free: 5.281 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5128, allocations: 12.03 kB / 0.7341 GB, free: 5.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.886e-05/0.5128, allocations: 23.67 kB / 0.7341 GB, free: 5.246 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.5131, allocations: 241.7 kB / 0.7343 GB, free: 4.969 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.5132, allocations: 7.938 kB / 0.7343 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.5132, allocations: 4 kB / 0.7343 GB, free: 4.957 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.5135, allocations: 145.6 kB / 0.7345 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.5135, allocations: 0 / 0.7345 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.5136, allocations: 0 / 0.7345 GB, free: 4.809 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.5136, allocations: 15.98 kB / 0.7345 GB, free: 4.793 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.514, allocations: 159.8 kB / 0.7346 GB, free: 4.637 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006549/0.5147, allocations: 464.5 kB / 0.7351 GB, free: 4.133 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.5151, allocations: 186.5 kB / 0.7353 GB, free: 3.941 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/0.5153, allocations: 108.8 kB / 0.7354 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.5154, allocations: 0 / 0.7354 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/0.5154, allocations: 46.52 kB / 0.7354 GB, free: 3.777 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 8.71e-07/0.5154, allocations: 0 / 0.7354 GB, free: 3.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0007828/0.5162, allocations: 320.6 kB / 0.7357 GB, free: 3.461 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.5162, allocations: 51.41 kB / 0.7358 GB, free: 3.398 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.5164, allocations: 209 kB / 0.736 GB, free: 3.184 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.5164, allocations: 33.7 kB / 0.736 GB, free: 3.145 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.5165, allocations: 120.1 kB / 0.7361 GB, free: 3.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.5166, allocations: 51.34 kB / 0.7362 GB, free: 2.973 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.996e-06/0.5166, allocations: 0 / 0.7362 GB, free: 2.973 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5167, allocations: 326.8 kB / 0.7365 GB, free: 2.645 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.517, allocations: 83.94 kB / 0.7365 GB, free: 2.562 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.5172, allocations: 83.92 kB / 0.7366 GB, free: 2.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.5174, allocations: 87.94 kB / 0.7367 GB, free: 2.395 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5174, allocations: 0 / 0.7367 GB, free: 2.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000488/0.5179, allocations: 233.3 kB / 0.7369 GB, free: 2.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.5179, allocations: 9.672 kB / 0.7369 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.518, allocations: 11.92 kB / 0.737 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.518, allocations: 0 / 0.737 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.5182, allocations: 35.97 kB / 0.737 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5182, allocations: 7.938 kB / 0.737 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.5184, allocations: 27.83 kB / 0.737 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.5184, allocations: 7.984 kB / 0.737 GB, free: 2.062 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.5185, allocations: 121.8 kB / 0.7371 GB, free: 1.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.5186, allocations: 15.81 kB / 0.7372 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.943e-05/0.5186, allocations: 33.72 kB / 0.7372 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.5186, allocations: 8 kB / 0.7372 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5186, allocations: 0 / 0.7372 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.5186, allocations: 0 / 0.7372 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.5189, allocations: 269.4 kB / 0.7375 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.5189, allocations: 0 / 0.7375 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.5191, allocations: 39.95 kB / 0.7375 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5192, allocations: 0 / 0.7375 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.5192, allocations: 0 / 0.7375 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.5192, allocations: 11.95 kB / 0.7375 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5192, allocations: 0 / 0.7375 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/0.5197, allocations: 332 kB / 0.7378 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.693e-05/0.5198, allocations: 112.8 kB / 0.7379 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.5199, allocations: 7.984 kB / 0.7379 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.5201, allocations: 15.98 kB / 0.738 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/0.5201, allocations: 19.94 kB / 0.738 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.5202, allocations: 4 kB / 0.738 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001286/0.5203, allocations: 156.5 kB / 0.7381 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5203, allocations: 0 / 0.7381 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002817/0.5206, allocations: 40 kB / 0.7382 GB, free: 0.8008 MB / 0.545 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001926/0.5208, allocations: 103.2 kB / 0.7383 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005406/0.5213, allocations: 189.5 kB / 0.7384 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5213, allocations: 0 / 0.7384 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.5216, allocations: 111.9 kB / 0.7386 GB, free: 408 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.522, allocations: 23.05 kB / 0.7386 GB, free: 388 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009836/0.523, allocations: 0.4936 MB / 0.7391 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.5235, allocations: 0.7238 MB / 0.7398 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.5237, allocations: 52.59 kB / 0.7398 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/0.5237, allocations: 19.42 kB / 0.7398 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.5237, allocations: 0 / 0.7398 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of Templates: time 0.005436/0.5292, allocations: 1.607 MB / 0.7414 GB, free: 13.46 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) Environment - environmentSimulation: