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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.589/1.589, allocations: 292.3 MB / 308.1 MB, free: 4.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 197.5 kB / 376.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 101.2 kB / 0.748 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 55.92 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2352, allocations: 114.6 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003265/0.2385, allocations: 2.055 MB / 0.9842 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004263/0.2428, allocations: 3.678 MB / 0.9878 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.2429, allocations: 4 kB / 0.9878 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.2432, allocations: 47.73 kB / 0.9879 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.2436, allocations: 99.42 kB / 0.988 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.244, allocations: 103.8 kB / 0.9881 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.2443, allocations: 239.1 kB / 0.9883 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.2444, allocations: 56.34 kB / 0.9883 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.2447, allocations: 99.56 kB / 0.9884 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.2448, allocations: 115.5 kB / 0.9886 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.2449, allocations: 12 kB / 0.9886 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.2451, allocations: 107.8 kB / 0.9887 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.365e-05/0.2452, allocations: 43.77 kB / 0.9887 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.2453, allocations: 91.45 kB / 0.9888 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.2457, allocations: 263 kB / 0.989 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2457, allocations: 0 / 0.989 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2457, allocations: 4 kB / 0.9891 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.2457, allocations: 0 / 0.9891 GB, free: 3.379 MB / 0.7136 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.001187/0.2469, allocations: 0.584 MB / 0.9896 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2469, allocations: 8.031 kB / 0.9896 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.247, allocations: 32.64 kB / 0.9897 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.2475, allocations: 267.6 kB / 0.9899 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.2475, allocations: 4.375 kB / 0.9899 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.158e-05/0.2475, allocations: 16.31 kB / 0.9899 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004896/0.248, allocations: 179.6 kB / 0.9901 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.248, allocations: 0 / 0.9901 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.2481, allocations: 4 kB / 0.9901 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2481, allocations: 0 / 0.9901 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006555/0.2487, allocations: 195.8 kB / 0.9903 GB, free: 2.012 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008855/0.2496, allocations: 492.3 kB / 0.9908 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.25, allocations: 126.5 kB / 0.9909 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003366/0.2504, allocations: 112.8 kB / 0.991 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008144/0.2512, allocations: 0.5493 MB / 0.9915 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.2512, allocations: 38.56 kB / 0.9916 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 1.472e-06/0.2512, allocations: 0 / 0.9916 GB, free: 0.5273 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001151/0.2524, allocations: 357.2 kB / 0.9919 GB, free: 176 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.2524, allocations: 51.41 kB / 0.992 GB, free: 112 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.2527, allocations: 234.7 kB / 0.9922 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.2527, allocations: 33.7 kB / 0.9922 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.2528, allocations: 136 kB / 0.9923 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.2528, allocations: 35.45 kB / 0.9924 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.415e-05/0.2529, allocations: 29.7 kB / 0.9924 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.253, allocations: 338.8 kB / 0.9927 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003391/0.2534, allocations: 87.91 kB / 0.9928 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.2537, allocations: 108.3 kB / 0.9929 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006346/0.2543, allocations: 204.6 kB / 0.9931 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2543, allocations: 0 / 0.9931 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007265/0.2551, allocations: 249.2 kB / 0.9933 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2551, allocations: 11.98 kB / 0.9934 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2551, allocations: 0 / 0.9934 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2551, allocations: 0 / 0.9934 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.2554, allocations: 39.95 kB / 0.9934 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.2554, allocations: 7.938 kB / 0.9934 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.2557, allocations: 27.89 kB / 0.9934 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.2557, allocations: 4 kB / 0.9934 GB, free: 14.55 MB / 0.7292 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 0.0001111/0.2558, allocations: 137.8 kB / 0.9936 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.8e-05/0.2559, allocations: 23.72 kB / 0.9936 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008352/0.2567, allocations: 275.1 kB / 0.9939 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2567, allocations: 3.984 kB / 0.9939 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.2567, allocations: 3.938 kB / 0.9939 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2567, allocations: 0 / 0.9939 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/0.257, allocations: 269.5 kB / 0.9941 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.257, allocations: 0 / 0.9941 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.2573, allocations: 55.88 kB / 0.9942 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2573, allocations: 0 / 0.9942 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.2574, allocations: 7.984 kB / 0.9942 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2574, allocations: 0 / 0.9942 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.2574, allocations: 7.938 kB / 0.9942 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001377/0.2588, allocations: 1.055 MB / 0.9952 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.2589, allocations: 116.8 kB / 0.9953 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.2589, allocations: 4 kB / 0.9953 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.2592, allocations: 23.97 kB / 0.9954 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.2592, allocations: 15.97 kB / 0.9954 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.2593, allocations: 7.984 kB / 0.9954 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001339/0.2594, allocations: 169.9 kB / 0.9955 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2594, allocations: 0 / 0.9955 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004104/0.2598, allocations: 55.91 kB / 0.9956 GB, free: 12.21 MB / 0.7292 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.0002242/0.2601, allocations: 143.2 kB / 0.9957 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007451/0.2608, allocations: 220.2 kB / 0.9959 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2608, allocations: 0 / 0.9959 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003978/0.2612, allocations: 116 kB / 0.9961 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.2617, allocations: 35.09 kB / 0.9961 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009075/0.2626, allocations: 0.6083 MB / 0.9967 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.2629, allocations: 0.7395 MB / 0.9974 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.2631, allocations: 36.83 kB / 0.9974 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.2631, allocations: 27.42 kB / 0.9975 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of SimCode: time 3e-07/0.2632, allocations: 0 / 0.9975 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.005105/0.2683, allocations: 2.451 MB / 0.9999 GB, free: 7.785 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (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)