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.001459/0.001459, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001668/0.001668, allocations: 193.6 kB / 16.14 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.1 MB / 222 MB, free: 4.781 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.719/1.719, allocations: 292.3 MB / 0.5484 GB, free: 13.7 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.001219/0.001219, allocations: 66.7 kB / 0.6708 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2241, allocations: 114.5 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003716/0.2278, allocations: 2.076 MB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005397/0.2333, allocations: 3.659 MB / 0.7883 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001528/0.2334, allocations: 4 kB / 0.7883 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.2338, allocations: 43.75 kB / 0.7883 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003538/0.2342, allocations: 95.34 kB / 0.7884 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003734/0.2346, allocations: 107.8 kB / 0.7885 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.2349, allocations: 243.1 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.235, allocations: 44.38 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.2354, allocations: 107.5 kB / 0.7889 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2356, allocations: 103.5 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.126e-05/0.2356, allocations: 15.94 kB / 0.789 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.2359, allocations: 111.8 kB / 0.7891 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.676e-05/0.236, allocations: 39.83 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.648e-05/0.2361, allocations: 95.39 kB / 0.7892 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003382/0.2364, allocations: 271.1 kB / 0.7895 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2364, allocations: 4 kB / 0.7895 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2364, allocations: 0 / 0.7895 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2364, allocations: 4 kB / 0.7895 GB, free: 6.98 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.001181/0.2376, allocations: 0.5802 MB / 0.7901 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2377, allocations: 8.031 kB / 0.7901 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.2378, allocations: 28.56 kB / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.2382, allocations: 263.6 kB / 0.7904 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.2382, allocations: 8.375 kB / 0.7904 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.2383, allocations: 8.375 kB / 0.7904 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.2388, allocations: 169.7 kB / 0.7905 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2388, allocations: 0 / 0.7905 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.2388, allocations: 4 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.2388, allocations: 4 kB / 0.7905 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006177/0.2394, allocations: 195.8 kB / 0.7907 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009272/0.2404, allocations: 492.3 kB / 0.7912 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003686/0.2408, allocations: 134.4 kB / 0.7913 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003257/0.2411, allocations: 116.7 kB / 0.7914 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009004/0.242, allocations: 0.5454 MB / 0.792 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.242, allocations: 38.56 kB / 0.792 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.2421, allocations: 0 / 0.792 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001128/0.2432, allocations: 345.1 kB / 0.7923 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.2432, allocations: 51.41 kB / 0.7924 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.2435, allocations: 238.7 kB / 0.7926 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.2435, allocations: 25.7 kB / 0.7926 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.2436, allocations: 148.2 kB / 0.7928 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.915e-05/0.2436, allocations: 39.41 kB / 0.7928 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.988e-05/0.2437, allocations: 33.62 kB / 0.7928 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2439, allocations: 330.8 kB / 0.7932 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003269/0.2442, allocations: 95.91 kB / 0.7933 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003251/0.2445, allocations: 95.91 kB / 0.7933 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006455/0.2452, allocations: 196.7 kB / 0.7935 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2452, allocations: 0 / 0.7935 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000738/0.2459, allocations: 253.2 kB / 0.7938 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.246, allocations: 8 kB / 0.7938 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.246, allocations: 4 kB / 0.7938 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.246, allocations: 0 / 0.7938 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.2463, allocations: 47.88 kB / 0.7938 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.2464, allocations: 3.938 kB / 0.7938 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002241/0.2466, allocations: 39.81 kB / 0.7939 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.2466, allocations: 7.984 kB / 0.7939 GB, free: 2.16 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.2468, allocations: 122.5 kB / 0.794 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.2468, allocations: 23.72 kB / 0.794 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008841/0.2477, allocations: 283.9 kB / 0.7943 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2477, allocations: 0 / 0.7943 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.2478, allocations: 3.938 kB / 0.7943 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2478, allocations: 3.938 kB / 0.7943 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003467/0.2481, allocations: 269.5 kB / 0.7946 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2481, allocations: 4 kB / 0.7946 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.2484, allocations: 47.95 kB / 0.7946 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.2484, allocations: 3.984 kB / 0.7946 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.2485, allocations: 0 / 0.7946 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.2485, allocations: 0 / 0.7946 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.2485, allocations: 3.938 kB / 0.7946 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/0.2493, allocations: 363.1 kB / 0.795 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.2494, allocations: 112.7 kB / 0.7951 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.2494, allocations: 4 kB / 0.7951 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.2497, allocations: 35.89 kB / 0.7951 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.57e-05/0.2498, allocations: 15.92 kB / 0.7951 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.2498, allocations: 11.92 kB / 0.7951 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001377/0.2499, allocations: 170 kB / 0.7953 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2499, allocations: 0 / 0.7953 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003109/0.2502, allocations: 56 kB / 0.7953 GB, free: 0.5664 MB / 0.6075 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.0002248/0.2505, allocations: 135.2 kB / 0.7955 GB, free: 432 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007482/0.2512, allocations: 211.8 kB / 0.7957 GB, free: 220 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.2512, allocations: 4 kB / 0.7957 GB, free: 216 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003633/0.2516, allocations: 111.9 kB / 0.7958 GB, free: 104 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.2522, allocations: 32.41 kB / 0.7958 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.2532, allocations: 491 kB / 0.7963 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.2535, allocations: 0.7355 MB / 0.797 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.2537, allocations: 40.77 kB / 0.797 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.474e-05/0.2538, allocations: 19.42 kB / 0.7971 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.2538, allocations: 0 / 0.7971 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of Templates: time 0.005466/0.2593, allocations: 2.392 MB / 0.7994 GB, free: 12.38 MB / 0.6231 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)