Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007812/0.0007812, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008675/0.0008676, allocations: 172.7 kB / 15.95 MB, free: 208 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.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.592/1.592, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.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.0005069/0.0005069, allocations: 17.19 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.214, allocations: 116.3 MB / 0.7873 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001916/0.2159, allocations: 1.664 MB / 0.7889 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003471/0.2194, allocations: 3.447 MB / 0.7923 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.407e-05/0.2195, allocations: 0 / 0.7923 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.2197, allocations: 39.75 kB / 0.7923 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.2199, allocations: 91.41 kB / 0.7924 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.2202, allocations: 111.8 kB / 0.7925 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.2205, allocations: 219.1 kB / 0.7927 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2206, allocations: 36.52 kB / 0.7928 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.2208, allocations: 99.61 kB / 0.7928 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.2209, allocations: 99.53 kB / 0.7929 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.2209, allocations: 8 kB / 0.7929 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.2211, allocations: 103.8 kB / 0.793 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.2212, allocations: 39.81 kB / 0.7931 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.135e-05/0.2212, allocations: 57.58 kB / 0.7931 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001895/0.2214, allocations: 179.6 kB / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2214, allocations: 0 / 0.7933 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2215, allocations: 8 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.2215, allocations: 0 / 0.7933 GB, free: 5.695 MB / 0.6075 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.0009367/0.2224, allocations: 0.5762 MB / 0.7939 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2224, allocations: 16.03 kB / 0.7939 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.2225, allocations: 23.72 kB / 0.7939 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.2229, allocations: 266.4 kB / 0.7942 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2229, allocations: 8 kB / 0.7942 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.2229, allocations: 7.938 kB / 0.7942 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000447/0.2234, allocations: 193.5 kB / 0.7944 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2234, allocations: 3.938 kB / 0.7944 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.2234, allocations: 8 kB / 0.7944 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-06/0.2234, allocations: 0 / 0.7944 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.224, allocations: 231.8 kB / 0.7946 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007553/0.2248, allocations: 496.4 kB / 0.7951 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003598/0.2252, allocations: 146.5 kB / 0.7952 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003194/0.2255, allocations: 132.9 kB / 0.7953 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007685/0.2263, allocations: 0.5844 MB / 0.7959 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2263, allocations: 34.5 kB / 0.7959 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.2263, allocations: 0 / 0.7959 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001078/0.2274, allocations: 417.3 kB / 0.7963 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.2275, allocations: 55.41 kB / 0.7964 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.2277, allocations: 230.7 kB / 0.7966 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.2277, allocations: 25.7 kB / 0.7966 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.547e-05/0.2278, allocations: 140 kB / 0.7968 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.2278, allocations: 39.45 kB / 0.7968 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.2278, allocations: 4 kB / 0.7968 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.228, allocations: 334.8 kB / 0.7971 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/0.2283, allocations: 111.9 kB / 0.7972 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.2286, allocations: 123.8 kB / 0.7974 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.2289, allocations: 115.9 kB / 0.7975 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2289, allocations: 0 / 0.7975 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006786/0.2296, allocations: 301.2 kB / 0.7978 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.2296, allocations: 7.953 kB / 0.7978 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2296, allocations: 0 / 0.7978 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2296, allocations: 0 / 0.7978 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.2299, allocations: 59.94 kB / 0.7978 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.2299, allocations: 0 / 0.7978 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.2301, allocations: 35.97 kB / 0.7979 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.2302, allocations: 11.98 kB / 0.7979 GB, free: 0.7031 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.2303, allocations: 126.4 kB / 0.798 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.313e-05/0.2303, allocations: 23.72 kB / 0.798 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007718/0.2311, allocations: 323 kB / 0.7983 GB, free: 236 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2311, allocations: 8 kB / 0.7983 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2311, allocations: 0 / 0.7983 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2312, allocations: 0 / 0.7983 GB, free: 228 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.2315, allocations: 281.4 kB / 0.7986 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2315, allocations: 0 / 0.7986 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.2317, allocations: 59.88 kB / 0.7987 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2317, allocations: 4 kB / 0.7987 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.2318, allocations: 7.938 kB / 0.7987 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.2318, allocations: 3.953 kB / 0.7987 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2318, allocations: 0 / 0.7987 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007473/0.2325, allocations: 392 kB / 0.799 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.596e-05/0.2326, allocations: 112.8 kB / 0.7992 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.2327, allocations: 8 kB / 0.7992 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.2329, allocations: 43.95 kB / 0.7992 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.894e-05/0.233, allocations: 15.94 kB / 0.7992 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.233, allocations: 7.984 kB / 0.7992 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001376/0.2332, allocations: 166 kB / 0.7994 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.854e-06/0.2332, allocations: 0 / 0.7994 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003164/0.2335, allocations: 67.86 kB / 0.7994 GB, free: 14.99 MB / 0.6231 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 (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.0002161/0.2337, allocations: 127.1 kB / 0.7996 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007044/0.2344, allocations: 263.8 kB / 0.7998 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2344, allocations: 0 / 0.7998 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003342/0.2348, allocations: 139.8 kB / 0.8 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.2352, allocations: 30.84 kB / 0.8 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.236, allocations: 496.9 kB / 0.8005 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002685/0.2363, allocations: 0.7355 MB / 0.8012 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001747/0.2364, allocations: 40.83 kB / 0.8012 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.2365, allocations: 19.42 kB / 0.8012 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of SimCode: time 8.62e-07/0.2365, allocations: 0 / 0.8012 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of Templates: time 0.004961/0.2415, allocations: 2.317 MB / 0.8035 GB, free: 10.8 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) Environment - environmentSimulation: