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/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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 252 MB / 268 MB, free: 10.86 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.001017/0.001017, allocations: 179.1 kB / 327.6 MB, free: 2.105 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.937/1.937, allocations: 205.4 MB / 0.5786 GB, free: 20.11 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.0009646/0.0009645, allocations: 86.28 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 11.84 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2267, allocations: 106.3 MB / 0.9015 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001939/0.2287, allocations: 1.721 MB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003156/0.2319, allocations: 3.624 MB / 0.9067 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.864e-05/0.232, allocations: 7.938 kB / 0.9067 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.2322, allocations: 43.73 kB / 0.9067 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.2325, allocations: 103.6 kB / 0.9068 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.2327, allocations: 107.8 kB / 0.9069 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.233, allocations: 235.1 kB / 0.9071 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2331, allocations: 52.36 kB / 0.9072 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.2333, allocations: 99.56 kB / 0.9073 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.2334, allocations: 103.5 kB / 0.9074 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.2335, allocations: 8 kB / 0.9074 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.2337, allocations: 111.8 kB / 0.9075 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.2337, allocations: 35.84 kB / 0.9075 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.837e-05/0.2338, allocations: 113.1 kB / 0.9076 GB, free: 57.1 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.234, allocations: 183.6 kB / 0.9078 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.234, allocations: 0 / 0.9078 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.206e-06/0.2341, allocations: 0 / 0.9078 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.157e-06/0.2341, allocations: 4 kB / 0.9078 GB, free: 56.92 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001084/0.2352, allocations: 0.5764 MB / 0.9084 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.2352, allocations: 12.03 kB / 0.9084 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.2353, allocations: 24.66 kB / 0.9084 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/0.2357, allocations: 271.7 kB / 0.9087 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2357, allocations: 4.375 kB / 0.9087 GB, free: 55.95 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.796e-05/0.2357, allocations: 8.375 kB / 0.9087 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.2362, allocations: 199.5 kB / 0.9089 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2362, allocations: 0 / 0.9089 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.2363, allocations: 0 / 0.9089 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.2363, allocations: 4 kB / 0.9089 GB, free: 55.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006642/0.2369, allocations: 239.8 kB / 0.9091 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007678/0.2377, allocations: 0.4886 MB / 0.9096 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.2381, allocations: 142.5 kB / 0.9097 GB, free: 54.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.2385, allocations: 132.8 kB / 0.9099 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007202/0.2392, allocations: 0.5728 MB / 0.9104 GB, free: 54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2392, allocations: 38.56 kB / 0.9105 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.2392, allocations: 0 / 0.9105 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001122/0.2403, allocations: 417.1 kB / 0.9109 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.2404, allocations: 51.62 kB / 0.9109 GB, free: 53.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.2406, allocations: 242.6 kB / 0.9111 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.2406, allocations: 29.7 kB / 0.9112 GB, free: 53.19 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.2406, allocations: 140 kB / 0.9113 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.2407, allocations: 31.47 kB / 0.9113 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/0.2407, allocations: 0 / 0.9113 GB, free: 53.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.2408, allocations: 342.8 kB / 0.9117 GB, free: 52.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.2411, allocations: 111.9 kB / 0.9118 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003117/0.2414, allocations: 123.8 kB / 0.9119 GB, free: 52.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.2421, allocations: 245.3 kB / 0.9121 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2421, allocations: 0 / 0.9121 GB, free: 52.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000703/0.2428, allocations: 301.2 kB / 0.9124 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2428, allocations: 8 kB / 0.9124 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.2428, allocations: 0 / 0.9124 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.2429, allocations: 0 / 0.9124 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.2432, allocations: 59.94 kB / 0.9125 GB, free: 51.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2432, allocations: 3.938 kB / 0.9125 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.2434, allocations: 39.88 kB / 0.9125 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.2434, allocations: 11.98 kB / 0.9125 GB, free: 51.78 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 (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 9.118e-05/0.2435, allocations: 125.8 kB / 0.9126 GB, free: 51.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.2436, allocations: 19.72 kB / 0.9127 GB, free: 51.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000803/0.2444, allocations: 335 kB / 0.913 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2444, allocations: 0 / 0.913 GB, free: 51.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2444, allocations: 7.938 kB / 0.913 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2444, allocations: 4 kB / 0.913 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.2446, allocations: 269.5 kB / 0.9132 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2447, allocations: 3.984 kB / 0.9132 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.245, allocations: 47.95 kB / 0.9133 GB, free: 50.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.245, allocations: 7.984 kB / 0.9133 GB, free: 50.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.245, allocations: 7.984 kB / 0.9133 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.245, allocations: 0 / 0.9133 GB, free: 50.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.245, allocations: 7.875 kB / 0.9133 GB, free: 50.9 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000728/0.2457, allocations: 399 kB / 0.9137 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.2458, allocations: 112.8 kB / 0.9138 GB, free: 50.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.2459, allocations: 4 kB / 0.9138 GB, free: 50.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.2461, allocations: 39.97 kB / 0.9138 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.848e-05/0.2462, allocations: 15.91 kB / 0.9139 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.2462, allocations: 11.98 kB / 0.9139 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.809e-05/0.2463, allocations: 162 kB / 0.914 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2463, allocations: 0 / 0.914 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002831/0.2466, allocations: 59.94 kB / 0.9141 GB, free: 50.08 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 (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.0001919/0.2468, allocations: 143.1 kB / 0.9142 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007237/0.2475, allocations: 251.8 kB / 0.9145 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2476, allocations: 0 / 0.9145 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003531/0.2479, allocations: 147.8 kB / 0.9146 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.2483, allocations: 35.72 kB / 0.9146 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007337/0.2491, allocations: 0.5307 MB / 0.9152 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.2492, allocations: 0.7355 MB / 0.9159 GB, free: 48.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.701e-05/0.2493, allocations: 23.42 kB / 0.9159 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2493, allocations: 0 / 0.9159 GB, free: 48.16 MB / 0.6042 GB Notification: Performance of Templates: time 0.00382/0.2532, allocations: 2.954 MB / 0.9188 GB, free: 45.23 MB / 0.6042 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)