Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009606/0.0009606, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9648/0.9648, allocations: 158.6 MB / 185.2 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/package.mo): time 0.07462/0.07462, allocations: 19.08 MB / 256.6 MB, free: 11.94 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/Utilities/LinProgFunc.mo:6:1-33:16:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package SolarTherm with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm master/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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1667,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1667,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 328.9 MB, free: 29.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.124e-05/2.354e-05, allocations: 3.156 kB / 328.9 MB, free: 29.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.001516/0.001539, allocations: 1.622 MB / 330.6 MB, free: 28.2 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007234/0.002263, allocations: 0.6279 MB / 331.2 MB, free: 27.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.736e-05/0.0023, allocations: 4 kB / 331.2 MB, free: 27.56 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.274e-05/0.002343, allocations: 11.92 kB / 331.2 MB, free: 27.55 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.002384, allocations: 7.922 kB / 331.2 MB, free: 27.54 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.002671, allocations: 75.59 kB / 331.3 MB, free: 27.47 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.993e-05/0.002721, allocations: 27.81 kB / 331.3 MB, free: 27.44 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.002755, allocations: 3.984 kB / 331.3 MB, free: 27.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.308e-05/0.002788, allocations: 8 kB / 331.3 MB, free: 27.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.234e-05/0.002821, allocations: 11.98 kB / 331.3 MB, free: 27.42 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.00283, allocations: 0 / 331.3 MB, free: 27.42 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.002992, allocations: 67.75 kB / 331.4 MB, free: 27.35 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.003008, allocations: 11.98 kB / 331.4 MB, free: 27.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.003021, allocations: 4 kB / 331.4 MB, free: 27.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.003138, allocations: 63.8 kB / 331.5 MB, free: 27.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.003141, allocations: 4 kB / 331.5 MB, free: 27.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.003141, allocations: 0 / 331.5 MB, free: 27.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.003145, allocations: 0 / 331.5 MB, free: 27.27 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002335/0.003378, allocations: 368.5 kB / 331.8 MB, free: 26.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.003413, allocations: 11.98 kB / 331.9 MB, free: 26.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.003439, allocations: 12.88 kB / 331.9 MB, free: 26.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.852e-05/0.003497, allocations: 120.6 kB / 332 MB, free: 26.71 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.003507, allocations: 4.312 kB / 332 MB, free: 26.7 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-06/0.003512, allocations: 384 / 332 MB, free: 26.7 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.151e-05/0.003584, allocations: 53.62 kB / 332 MB, free: 26.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.003591, allocations: 192 / 332 MB, free: 26.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.563e-06/0.003598, allocations: 4.375 kB / 332.1 MB, free: 26.63 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.003606, allocations: 3.938 kB / 332.1 MB, free: 26.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-06/0.003615, allocations: 4 kB / 332.1 MB, free: 26.62 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.003812, allocations: 363.3 kB / 332.4 MB, free: 26.24 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.55e-05/0.003858, allocations: 62.16 kB / 332.5 MB, free: 26.15 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.325e-05/0.003871, allocations: 19.38 kB / 332.5 MB, free: 26.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002358/0.004107, allocations: 64.02 kB / 332.6 MB, free: 26.06 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.497e-05/0.004122, allocations: 37.33 kB / 332.6 MB, free: 26.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.004123, allocations: 0 / 332.6 MB, free: 26.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001234/0.004246, allocations: 49.58 kB / 332.6 MB, free: 25.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.00427, allocations: 77.11 kB / 332.7 MB, free: 25.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.979e-05/0.00432, allocations: 170.2 kB / 332.9 MB, free: 25.68 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.004326, allocations: 29.7 kB / 332.9 MB, free: 25.65 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.759e-05/0.004353, allocations: 126.9 kB / 333 MB, free: 25.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-06/0.004361, allocations: 19.84 kB / 333.1 MB, free: 25.5 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.004385, allocations: 23.36 kB / 333.1 MB, free: 25.47 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.004428, allocations: 496.1 kB / 333.6 MB, free: 24.97 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-06/0.004433, allocations: 256 / 333.6 MB, free: 24.97 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.079e-05/0.004444, allocations: 23.31 kB / 333.6 MB, free: 24.94 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.991e-05/0.004464, allocations: 31.31 kB / 333.6 MB, free: 24.9 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.004466, allocations: 8.031 kB / 333.6 MB, free: 24.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.307e-05/0.004499, allocations: 41.62 kB / 333.7 MB, free: 24.85 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.00451, allocations: 11.94 kB / 333.7 MB, free: 24.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.004521, allocations: 0 / 333.7 MB, free: 24.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.004532, allocations: 0 / 333.7 MB, free: 24.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.392e-05/0.004556, allocations: 4 kB / 333.7 MB, free: 24.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.004559, allocations: 3.984 kB / 333.7 MB, free: 24.83 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.084e-05/0.00457, allocations: 0 / 333.7 MB, free: 24.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.004575, allocations: 0 / 333.7 MB, free: 24.83 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 3.655e-05/0.004611, allocations: 164.6 kB / 333.8 MB, free: 24.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.853e-05/0.00463, allocations: 11.89 kB / 333.9 MB, free: 24.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.004689, allocations: 44.94 kB / 333.9 MB, free: 24.6 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.004691, allocations: 4 kB / 333.9 MB, free: 24.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.004693, allocations: 0 / 333.9 MB, free: 24.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.004697, allocations: 0 / 333.9 MB, free: 24.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.004823, allocations: 250.1 kB / 334.1 MB, free: 24.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.004825, allocations: 0 / 334.1 MB, free: 24.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-06/0.00483, allocations: 4 kB / 334.2 MB, free: 24.31 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.004832, allocations: 3.938 kB / 334.2 MB, free: 24.31 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-06/0.004836, allocations: 64 / 334.2 MB, free: 24.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.004838, allocations: 11.94 kB / 334.2 MB, free: 24.3 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.004839, allocations: 0 / 334.2 MB, free: 24.3 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.767e-05/0.004907, allocations: 307.2 kB / 334.5 MB, free: 23.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-06/0.004913, allocations: 11.89 kB / 334.5 MB, free: 23.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-06/0.004922, allocations: 7.984 kB / 334.5 MB, free: 23.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.919e-05/0.004961, allocations: 0 / 334.5 MB, free: 23.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-06/0.00497, allocations: 0 / 334.5 MB, free: 23.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-06/0.004972, allocations: 0 / 334.5 MB, free: 23.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.802e-05/0.00499, allocations: 127.2 kB / 334.6 MB, free: 23.83 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00499, allocations: 0 / 334.6 MB, free: 23.83 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001798/0.00517, allocations: 27.91 kB / 334.6 MB, free: 23.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001087/0.005279, allocations: 123.1 kB / 334.8 MB, free: 23.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.122e-05/0.00535, allocations: 49.38 kB / 334.8 MB, free: 23.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.005351, allocations: 3.938 kB / 334.8 MB, free: 23.61 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.079e-05/0.005362, allocations: 37.39 kB / 334.8 MB, free: 23.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.005543, allocations: 2.812 kB / 334.9 MB, free: 23.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003097/0.005852, allocations: 156.8 kB / 335 MB, free: 23.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.723e-05/0.00588, allocations: 59.34 kB / 335.1 MB, free: 23.31 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.715e-06/0.005887, allocations: 0 / 335.1 MB, free: 23.31 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.005913, allocations: 70.2 kB / 335.1 MB, free: 23.24 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.005913, allocations: 0 / 335.1 MB, free: 23.24 MB / 282.7 MB Notification: Performance of Templates: time 0.001977/0.007891, allocations: 0.5915 MB / 335.7 MB, free: 22.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.makefile [Timeout 660] (rm -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe ; mkfifo SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe ; head -c 1048576 < SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe >> ../files/SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.sim & ./SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun -abortSlowSimulation -alarm=240 -lv LOG_STATS > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0252308808267117]