Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.283/2.283, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.001414/0.001414, allocations: 189.8 kB / 326.3 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.484/2.484, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009314/0.0009314, allocations: 89.98 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004509, allocations: 11.31 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2424, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003704/0.2462, allocations: 1.671 MB / 0.9011 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007921/0.2542, allocations: 3.451 MB / 0.9045 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.2545, allocations: 7.938 kB / 0.9045 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.2549, allocations: 51.67 kB / 0.9046 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005481/0.2555, allocations: 91.42 kB / 0.9047 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006698/0.2562, allocations: 99.81 kB / 0.9047 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004781/0.2567, allocations: 223 kB / 0.905 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.2569, allocations: 44.56 kB / 0.905 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.2573, allocations: 95.61 kB / 0.9051 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002623/0.2576, allocations: 99.58 kB / 0.9052 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.2577, allocations: 8 kB / 0.9052 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.2582, allocations: 103.8 kB / 0.9053 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.2583, allocations: 43.81 kB / 0.9053 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.436e-05/0.2584, allocations: 53.58 kB / 0.9054 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.2589, allocations: 175.8 kB / 0.9056 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2589, allocations: 0 / 0.9056 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.955e-06/0.2589, allocations: 4 kB / 0.9056 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.259, allocations: 0 / 0.9056 GB, free: 59.27 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.002235/0.2612, allocations: 0.5803 MB / 0.9061 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/0.2613, allocations: 12.03 kB / 0.9061 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.2614, allocations: 28.56 kB / 0.9062 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008114/0.2623, allocations: 259.8 kB / 0.9064 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.2623, allocations: 8.375 kB / 0.9064 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.193e-05/0.2624, allocations: 4.375 kB / 0.9064 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/0.2636, allocations: 189.5 kB / 0.9066 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.2637, allocations: 3.938 kB / 0.9066 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.2638, allocations: 12 kB / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2638, allocations: 0 / 0.9066 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.2656, allocations: 235.8 kB / 0.9068 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.2675, allocations: 0.4886 MB / 0.9073 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009504/0.2685, allocations: 142.5 kB / 0.9075 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009786/0.2695, allocations: 132.8 kB / 0.9076 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001892/0.2714, allocations: 0.5766 MB / 0.9081 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/0.2715, allocations: 42.55 kB / 0.9082 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 4.268e-06/0.2716, allocations: 0 / 0.9082 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.00438/0.276, allocations: 413.3 kB / 0.9086 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.276, allocations: 51.41 kB / 0.9086 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.2763, allocations: 238.7 kB / 0.9089 GB, free: 55.58 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.3e-05/0.2764, allocations: 25.7 kB / 0.9089 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.365e-05/0.2765, allocations: 140 kB / 0.909 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.2765, allocations: 39.47 kB / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/0.2766, allocations: 0 / 0.9091 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.053e-05/0.2766, allocations: 330.8 kB / 0.9094 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006439/0.2773, allocations: 119.9 kB / 0.9095 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/0.2779, allocations: 115.9 kB / 0.9096 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/0.2786, allocations: 123.8 kB / 0.9097 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2786, allocations: 0 / 0.9097 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001364/0.28, allocations: 293.2 kB / 0.91 GB, free: 54.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.28, allocations: 8 kB / 0.91 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.28, allocations: 3.938 kB / 0.91 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2801, allocations: 4 kB / 0.91 GB, free: 54.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005451/0.2806, allocations: 55.94 kB / 0.9101 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2807, allocations: 3.938 kB / 0.9101 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.2811, allocations: 43.91 kB / 0.9101 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.943e-05/0.2811, allocations: 7.984 kB / 0.9101 GB, free: 54.27 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.2813, allocations: 121.8 kB / 0.9102 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.247e-05/0.2813, allocations: 19.72 kB / 0.9103 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.2828, allocations: 335 kB / 0.9106 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.2829, allocations: 0 / 0.9106 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2829, allocations: 0 / 0.9106 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.283, allocations: 116.7 kB / 0.9107 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.316e-05/0.2831, allocations: 3.984 kB / 0.9107 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004351/0.2835, allocations: 35.97 kB / 0.9107 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/0.2836, allocations: 15.98 kB / 0.9107 GB, free: 53.6 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001721/0.2854, allocations: 405.5 kB / 0.9111 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001459/0.2869, allocations: 486.3 kB / 0.9116 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006572/0.2875, allocations: 135.9 kB / 0.9117 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000173/0.2877, allocations: 162 kB / 0.9119 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of Backend: time 4.5e-07/0.2878, allocations: 3.938 kB / 0.9119 GB, free: 52.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.289, allocations: 238.3 kB / 0.9121 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001/0.29, allocations: 0.9007 MB / 0.913 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.008856/0.2989, allocations: 3.008 MB / 0.9159 GB, free: 48.24 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1)