Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.117/2.117, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 190.1 kB / 325.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.528/2.528, allocations: 205.4 MB / 0.5767 GB, free: 20.74 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001343/0.001342, allocations: 88.59 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006345/0.000635, allocations: 11.66 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2385, allocations: 106.3 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00267/0.2413, allocations: 1.781 MB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005217/0.2466, allocations: 3.548 MB / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002569/0.2469, allocations: 0 / 0.9042 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.2472, allocations: 43.75 kB / 0.9043 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004886/0.2477, allocations: 123.2 kB / 0.9044 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005062/0.2482, allocations: 111.7 kB / 0.9045 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004211/0.2487, allocations: 270.9 kB / 0.9048 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.2489, allocations: 52.91 kB / 0.9048 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002719/0.2492, allocations: 111.6 kB / 0.9049 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.2494, allocations: 131.4 kB / 0.9051 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.2495, allocations: 12 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003652/0.2498, allocations: 115.8 kB / 0.9052 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.2499, allocations: 47.77 kB / 0.9052 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.516e-05/0.25, allocations: 61.58 kB / 0.9053 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.2504, allocations: 223.7 kB / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2504, allocations: 0 / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2504, allocations: 0 / 0.9055 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.453e-06/0.2504, allocations: 0 / 0.9055 GB, free: 58.76 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001819/0.2523, allocations: 0.6272 MB / 0.9061 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.2523, allocations: 8.031 kB / 0.9061 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.2539, allocations: 160.4 kB / 0.9063 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.2551, allocations: 320.5 kB / 0.9066 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.2551, allocations: 12.31 kB / 0.9066 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.2552, allocations: 15.94 kB / 0.9066 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.2564, allocations: 255.7 kB / 0.9068 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2564, allocations: 0 / 0.9068 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.608e-05/0.2565, allocations: 4 kB / 0.9068 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2565, allocations: 4 kB / 0.9068 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.2583, allocations: 339.6 kB / 0.9072 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.2603, allocations: 0.6096 MB / 0.9078 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009884/0.2614, allocations: 202.4 kB / 0.908 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009409/0.2623, allocations: 184.7 kB / 0.9081 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/0.2637, allocations: 0.5806 MB / 0.9087 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.2637, allocations: 30.56 kB / 0.9087 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=13): time 2.835e-06/0.2637, allocations: 0 / 0.9087 GB, free: 55.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13): time 0.003045/0.2668, allocations: 0.5661 MB / 0.9093 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.2668, allocations: 51.41 kB / 0.9093 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003206/0.2672, allocations: 276.5 kB / 0.9096 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.2672, allocations: 29.7 kB / 0.9096 GB, free: 54.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/0.2673, allocations: 144 kB / 0.9098 GB, free: 54.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.2674, allocations: 47.3 kB / 0.9098 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.792e-05/0.2675, allocations: 0 / 0.9098 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.37e-05/0.2675, allocations: 338.8 kB / 0.9101 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009496/0.2685, allocations: 175.9 kB / 0.9103 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009358/0.2694, allocations: 171.9 kB / 0.9105 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009468/0.2704, allocations: 182.2 kB / 0.9106 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2704, allocations: 0 / 0.9106 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002091/0.2725, allocations: 421 kB / 0.911 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.2726, allocations: 11.98 kB / 0.9111 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2726, allocations: 0 / 0.9111 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.2726, allocations: 0 / 0.9111 GB, free: 52.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008325/0.2735, allocations: 87.86 kB / 0.9111 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2735, allocations: 0 / 0.9111 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006275/0.2741, allocations: 63.73 kB / 0.9112 GB, free: 52.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.956e-05/0.2742, allocations: 11.98 kB / 0.9112 GB, free: 52.59 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 (17): * Single equations (assignments): 17 * 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.0001661/0.2743, allocations: 121.8 kB / 0.9113 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.2744, allocations: 27.7 kB / 0.9113 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/0.2766, allocations: 451.4 kB / 0.9118 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.2766, allocations: 4 kB / 0.9118 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2766, allocations: 0 / 0.9118 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.2766, allocations: 3.938 kB / 0.9118 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.277, allocations: 305.4 kB / 0.9121 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.2771, allocations: 0 / 0.9121 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007464/0.2778, allocations: 75.92 kB / 0.9122 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.2778, allocations: 4 kB / 0.9122 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.037e-05/0.2779, allocations: 7.922 kB / 0.9122 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.2779, allocations: 0 / 0.9122 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2779, allocations: 0 / 0.9122 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.28, allocations: 0.5066 MB / 0.9127 GB, free: 51.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.2801, allocations: 120.7 kB / 0.9128 GB, free: 50.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.2802, allocations: 3.984 kB / 0.9128 GB, free: 50.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.2808, allocations: 55.95 kB / 0.9128 GB, free: 50.82 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.281, allocations: 19.91 kB / 0.9128 GB, free: 50.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/0.281, allocations: 4 kB / 0.9129 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001961/0.2812, allocations: 187.1 kB / 0.913 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2812, allocations: 0 / 0.913 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004595/0.2817, allocations: 64 kB / 0.9131 GB, free: 50.55 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 (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.0002649/0.282, allocations: 135.2 kB / 0.9132 GB, free: 50.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.284, allocations: 383.7 kB / 0.9136 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.284, allocations: 0 / 0.9136 GB, free: 50.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009839/0.285, allocations: 191.8 kB / 0.9138 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.2856, allocations: 28.64 kB / 0.9138 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.2871, allocations: 0.5867 MB / 0.9144 GB, free: 49.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.2873, allocations: 0.7477 MB / 0.9151 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004255/0.2878, allocations: 45.39 kB / 0.9151 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.288, allocations: 23.42 kB / 0.9152 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of SimCode: time 9.01e-07/0.288, allocations: 4 kB / 0.9152 GB, free: 48.37 MB / 0.6042 GB Notification: Performance of Templates: time 0.008317/0.2963, allocations: 2.84 MB / 0.9179 GB, free: 45.55 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)