Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006941/0.006941, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.001381/0.001381, allocations: 194.1 kB / 16.67 MB, free: 5.973 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.671/1.671, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.63/1.63, allocations: 251.7 MB / 0.5094 GB, free: 2.988 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.001412/0.001412, allocations: 67.91 kB / 0.7258 GB, free: 8.992 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2299, allocations: 104.7 MB / 0.828 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00315/0.2331, allocations: 1.902 MB / 0.8299 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003841/0.237, allocations: 3.46 MB / 0.8333 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.2371, allocations: 0 / 0.8333 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002852/0.2374, allocations: 47.69 kB / 0.8333 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004796/0.2379, allocations: 131.3 kB / 0.8335 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 7.602e-05/0.238, allocations: 27.91 kB / 0.8335 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.2382, allocations: 171.2 kB / 0.8336 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.2383, allocations: 29.61 kB / 0.8337 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.2385, allocations: 83.64 kB / 0.8337 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.2387, allocations: 75.62 kB / 0.8338 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.2387, allocations: 8 kB / 0.8338 GB, free: 10.22 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.2388, allocations: 35.91 kB / 0.8339 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.929e-05/0.2389, allocations: 39.83 kB / 0.8339 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.311e-05/0.239, allocations: 83.48 kB / 0.834 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.2392, allocations: 163.3 kB / 0.8341 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2392, allocations: 0 / 0.8341 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2392, allocations: 0 / 0.8341 GB, free: 9.906 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.2392, allocations: 4 kB / 0.8341 GB, free: 9.902 MB / 0.6544 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.0008061/0.24, allocations: 0.4906 MB / 0.8346 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2401, allocations: 16.03 kB / 0.8346 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.2402, allocations: 16.75 kB / 0.8346 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.2405, allocations: 238.9 kB / 0.8349 GB, free: 9.062 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.2405, allocations: 8.375 kB / 0.8349 GB, free: 9.055 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.2405, allocations: 12.34 kB / 0.8349 GB, free: 9.043 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.2409, allocations: 133.7 kB / 0.835 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.2409, allocations: 7.938 kB / 0.835 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.2409, allocations: 7.984 kB / 0.835 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.727e-05/0.241, allocations: 8 kB / 0.835 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000408/0.2414, allocations: 135.8 kB / 0.8352 GB, free: 8.75 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006766/0.2421, allocations: 440.5 kB / 0.8356 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003908/0.2425, allocations: 166.4 kB / 0.8358 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.2427, allocations: 104.8 kB / 0.8359 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.2427, allocations: 0 / 0.8359 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.2428, allocations: 34.81 kB / 0.8359 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.2428, allocations: 0 / 0.8359 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0007781/0.2436, allocations: 281.5 kB / 0.8362 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.2436, allocations: 59.34 kB / 0.8362 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.2438, allocations: 205 kB / 0.8364 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2438, allocations: 29.7 kB / 0.8364 GB, free: 7.355 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.847e-05/0.2439, allocations: 124 kB / 0.8366 GB, free: 7.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.13e-05/0.244, allocations: 35.45 kB / 0.8366 GB, free: 7.195 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-05/0.244, allocations: 33.7 kB / 0.8366 GB, free: 7.156 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.2442, allocations: 334.8 kB / 0.8369 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.2444, allocations: 67.94 kB / 0.837 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.2446, allocations: 71.94 kB / 0.8371 GB, free: 6.684 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.245, allocations: 163 kB / 0.8372 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.245, allocations: 0 / 0.8372 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004917/0.2455, allocations: 205.3 kB / 0.8374 GB, free: 6.316 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2456, allocations: 11.92 kB / 0.8374 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2456, allocations: 0 / 0.8374 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2456, allocations: 0 / 0.8374 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002378/0.2458, allocations: 35.97 kB / 0.8375 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2459, allocations: 0 / 0.8375 GB, free: 6.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.246, allocations: 19.92 kB / 0.8375 GB, free: 6.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.734e-05/0.246, allocations: 7.922 kB / 0.8375 GB, free: 6.242 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.2462, allocations: 129.8 kB / 0.8376 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.2462, allocations: 27.72 kB / 0.8376 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.2463, allocations: 25.83 kB / 0.8377 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2463, allocations: 0 / 0.8377 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2463, allocations: 0 / 0.8377 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2463, allocations: 0 / 0.8377 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.2466, allocations: 273.3 kB / 0.8379 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.2466, allocations: 0 / 0.8379 GB, free: 5.734 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000235/0.2469, allocations: 35.97 kB / 0.838 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.2469, allocations: 0 / 0.838 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.2469, allocations: 7.984 kB / 0.838 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2469, allocations: 0 / 0.838 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2469, allocations: 0 / 0.838 GB, free: 5.691 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.2475, allocations: 315.6 kB / 0.8383 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.2476, allocations: 108.8 kB / 0.8384 GB, free: 5.242 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.2477, allocations: 11.94 kB / 0.8384 GB, free: 5.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.2478, allocations: 11.98 kB / 0.8384 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.2479, allocations: 11.98 kB / 0.8384 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.248, allocations: 0 / 0.8384 GB, free: 5.207 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001779/0.2481, allocations: 156.5 kB / 0.8386 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.2482, allocations: 0 / 0.8386 GB, free: 5.051 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002908/0.2485, allocations: 43.94 kB / 0.8386 GB, free: 5.008 MB / 0.6544 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 (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.0001902/0.2486, allocations: 103.2 kB / 0.8387 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000504/0.2492, allocations: 172.7 kB / 0.8389 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2492, allocations: 4 kB / 0.8389 GB, free: 4.727 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.2494, allocations: 91.42 kB / 0.839 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.2499, allocations: 32.53 kB / 0.839 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008301/0.2507, allocations: 410.1 kB / 0.8394 GB, free: 4.184 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.251, allocations: 0.7275 MB / 0.8401 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.2512, allocations: 52.58 kB / 0.8401 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.968e-05/0.2512, allocations: 23.42 kB / 0.8402 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.2513, allocations: 0 / 0.8402 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of Templates: time 0.005215/0.2565, allocations: 1.72 MB / 0.8418 GB, free: 1.656 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)