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/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.483/1.483, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001303/0.001303, allocations: 188.5 kB / 326.5 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008128/0.0008129, allocations: 83.86 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003078/0.0003079, allocations: 8.594 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2242, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001904/0.2261, allocations: 1.641 MB / 0.8983 GB, free: 66.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003106/0.2292, allocations: 3.425 MB / 0.9017 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.101e-05/0.2293, allocations: 0 / 0.9017 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.2296, allocations: 43.8 kB / 0.9017 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.23, allocations: 119.4 kB / 0.9018 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.882e-05/0.2301, allocations: 27.97 kB / 0.9019 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.2303, allocations: 175.2 kB / 0.902 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2304, allocations: 33.59 kB / 0.9021 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.2306, allocations: 67.66 kB / 0.9021 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.2308, allocations: 75.61 kB / 0.9022 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.2308, allocations: 4 kB / 0.9022 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.361e-05/0.2309, allocations: 27.92 kB / 0.9022 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.397e-05/0.231, allocations: 35.83 kB / 0.9023 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.572e-05/0.2311, allocations: 71.53 kB / 0.9023 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.2312, allocations: 103.8 kB / 0.9024 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.2312, allocations: 8 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2312, allocations: 0 / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.2312, allocations: 0 / 0.9024 GB, free: 62.32 MB / 0.6042 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.0007808/0.232, allocations: 0.492 MB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2321, allocations: 8.031 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.2321, allocations: 20.66 kB / 0.903 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.2324, allocations: 234.9 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.2324, allocations: 4.375 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.2325, allocations: 8.359 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.2328, allocations: 157.5 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2328, allocations: 0 / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.2328, allocations: 0 / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.2329, allocations: 15.98 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003849/0.2333, allocations: 151.8 kB / 0.9035 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.2339, allocations: 452.5 kB / 0.9039 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.2342, allocations: 174.4 kB / 0.9041 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.2345, allocations: 108.8 kB / 0.9042 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2345, allocations: 7.984 kB / 0.9042 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.2345, allocations: 38.5 kB / 0.9042 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/0.2345, allocations: 0 / 0.9042 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.0007301/0.2353, allocations: 301.7 kB / 0.9045 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2353, allocations: 55.41 kB / 0.9046 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.2355, allocations: 213 kB / 0.9048 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2355, allocations: 25.7 kB / 0.9048 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.2355, allocations: 124 kB / 0.9049 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.2356, allocations: 35.45 kB / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.2356, allocations: 21.7 kB / 0.905 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.558e-05/0.2357, allocations: 330.8 kB / 0.9053 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.2359, allocations: 83.94 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.2361, allocations: 71.94 kB / 0.9055 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003847/0.2365, allocations: 178.7 kB / 0.9056 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2365, allocations: 4 kB / 0.9056 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004455/0.2369, allocations: 229.3 kB / 0.9058 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.237, allocations: 7.984 kB / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.237, allocations: 0 / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.237, allocations: 0 / 0.9059 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.2372, allocations: 39.91 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2372, allocations: 3.984 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.2374, allocations: 27.92 kB / 0.9059 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.2374, allocations: 7.984 kB / 0.9059 GB, free: 58.53 MB / 0.6042 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 8.505e-05/0.2375, allocations: 125.8 kB / 0.906 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.2375, allocations: 19.72 kB / 0.9061 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.2376, allocations: 29.83 kB / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.2376, allocations: 0 / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2376, allocations: 3.938 kB / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2376, allocations: 0 / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.2378, allocations: 265.5 kB / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2378, allocations: 0 / 0.9064 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.238, allocations: 43.91 kB / 0.9064 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2381, allocations: 4 kB / 0.9064 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.2381, allocations: 3.984 kB / 0.9064 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2381, allocations: 0 / 0.9064 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2381, allocations: 0 / 0.9064 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004735/0.2386, allocations: 337.7 kB / 0.9067 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.2386, allocations: 108.8 kB / 0.9068 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.2387, allocations: 3.984 kB / 0.9068 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.2389, allocations: 19.98 kB / 0.9069 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.2389, allocations: 11.92 kB / 0.9069 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.2389, allocations: 4 kB / 0.9069 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.349e-05/0.239, allocations: 156.5 kB / 0.907 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/0.239, allocations: 8 kB / 0.907 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002389/0.2393, allocations: 31.94 kB / 0.9071 GB, free: 57.28 MB / 0.6042 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.0001331/0.2394, allocations: 107.2 kB / 0.9072 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004472/0.2399, allocations: 183.9 kB / 0.9073 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2399, allocations: 0 / 0.9073 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002119/0.2401, allocations: 103.9 kB / 0.9074 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.2405, allocations: 28.66 kB / 0.9075 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006726/0.2412, allocations: 482.8 kB / 0.9079 GB, free: 56.36 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.2413, allocations: 0.7316 MB / 0.9086 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.2414, allocations: 23.42 kB / 0.9087 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/0.2414, allocations: 0 / 0.9087 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.003294/0.2447, allocations: 2.202 MB / 0.9108 GB, free: 53.39 MB / 0.6042 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)