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.000938/0.0009379, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009055/0.0009055, allocations: 177.3 kB / 15.94 MB, free: 228 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.289/1.289, allocations: 205.4 MB / 222.1 MB, free: 5.449 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.554/1.554, allocations: 292.5 MB / 0.5497 GB, free: 14.65 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.0005085/0.0005085, allocations: 16 kB / 0.6735 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2346, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002001/0.2366, allocations: 1.633 MB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00372/0.2404, allocations: 3.241 MB / 0.7919 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2405, allocations: 4 kB / 0.7919 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.2408, allocations: 43.81 kB / 0.7919 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.2411, allocations: 111.5 kB / 0.792 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.2415, allocations: 99.75 kB / 0.7921 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000294/0.2418, allocations: 163.6 kB / 0.7923 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.2419, allocations: 40.56 kB / 0.7923 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.2421, allocations: 95.61 kB / 0.7924 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.2423, allocations: 103.6 kB / 0.7925 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.2423, allocations: 4 kB / 0.7925 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000203/0.2425, allocations: 103.8 kB / 0.7926 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.543e-05/0.2426, allocations: 39.78 kB / 0.7926 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.2427, allocations: 53.58 kB / 0.7927 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.2429, allocations: 183.6 kB / 0.7929 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.2429, allocations: 0 / 0.7929 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2429, allocations: 0 / 0.7929 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.243, allocations: 0 / 0.7929 GB, free: 6.023 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.001218/0.2442, allocations: 0.5879 MB / 0.7934 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.2443, allocations: 8.031 kB / 0.7935 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.148e-05/0.2443, allocations: 23.72 kB / 0.7935 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005042/0.2448, allocations: 262.5 kB / 0.7937 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.2449, allocations: 8 kB / 0.7937 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.2449, allocations: 4 kB / 0.7937 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000514/0.2454, allocations: 192.4 kB / 0.7939 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2454, allocations: 0 / 0.7939 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.2455, allocations: 4 kB / 0.7939 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2455, allocations: 4 kB / 0.7939 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007134/0.2462, allocations: 235.8 kB / 0.7942 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008903/0.2471, allocations: 0.4925 MB / 0.7946 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.2475, allocations: 150.4 kB / 0.7948 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008792/0.2484, allocations: 0.569 MB / 0.7953 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.2485, allocations: 46.5 kB / 0.7954 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.2485, allocations: 4 kB / 0.7954 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001207/0.2497, allocations: 417.2 kB / 0.7958 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.2497, allocations: 51.41 kB / 0.7958 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.2499, allocations: 234.7 kB / 0.7961 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.25, allocations: 25.7 kB / 0.7961 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.2501, allocations: 144 kB / 0.7962 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.2502, allocations: 39.44 kB / 0.7963 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.2502, allocations: 0 / 0.7963 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.2503, allocations: 330.8 kB / 0.7966 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/0.2507, allocations: 127.8 kB / 0.7967 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000329/0.251, allocations: 115.9 kB / 0.7968 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.2514, allocations: 111.9 kB / 0.7969 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2514, allocations: 0 / 0.7969 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007714/0.2522, allocations: 305.2 kB / 0.7972 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2522, allocations: 7.953 kB / 0.7972 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2522, allocations: 0 / 0.7972 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2522, allocations: 0 / 0.7972 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.2525, allocations: 59.94 kB / 0.7973 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.2525, allocations: 3.938 kB / 0.7973 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.2528, allocations: 35.97 kB / 0.7973 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.2528, allocations: 11.98 kB / 0.7973 GB, free: 1.152 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.0001129/0.2529, allocations: 125.8 kB / 0.7974 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.253, allocations: 19.72 kB / 0.7974 GB, free: 1 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008783/0.2539, allocations: 331 kB / 0.7978 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2539, allocations: 0 / 0.7978 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2539, allocations: 0 / 0.7978 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2539, allocations: 0 / 0.7978 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.2542, allocations: 277.5 kB / 0.798 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2542, allocations: 0 / 0.798 GB, free: 364 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.2545, allocations: 59.89 kB / 0.7981 GB, free: 304 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.2545, allocations: 3.984 kB / 0.7981 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.2546, allocations: 4 kB / 0.7981 GB, free: 296 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2546, allocations: 3.953 kB / 0.7981 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.2546, allocations: 4 kB / 0.7981 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008645/0.2555, allocations: 399.9 kB / 0.7985 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.2556, allocations: 108.8 kB / 0.7986 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.2556, allocations: 4 kB / 0.7986 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.2559, allocations: 39.95 kB / 0.7986 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.256, allocations: 23.88 kB / 0.7987 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.256, allocations: 3.984 kB / 0.7987 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001456/0.2561, allocations: 166 kB / 0.7988 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2561, allocations: 4 kB / 0.7988 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003236/0.2565, allocations: 59.92 kB / 0.7989 GB, free: 15.46 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.0002235/0.2567, allocations: 131.2 kB / 0.799 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008145/0.2575, allocations: 255.8 kB / 0.7992 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2575, allocations: 0 / 0.7992 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003728/0.2579, allocations: 144.1 kB / 0.7994 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.2583, allocations: 32.56 kB / 0.7994 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007996/0.2591, allocations: 493 kB / 0.7999 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.2594, allocations: 0.7394 MB / 0.8006 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.2596, allocations: 36.83 kB / 0.8006 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.442e-05/0.2596, allocations: 23.42 kB / 0.8007 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of SimCode: time 4.1e-07/0.2596, allocations: 0 / 0.8007 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of Templates: time 0.005664/0.2653, allocations: 2.308 MB / 0.8029 GB, free: 11.27 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: