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.0009317/0.0009317, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001002/0.001002, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9245/0.9245, allocations: 158.6 MB / 185.9 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.0756/0.0756, allocations: 19.09 MB / 257.4 MB, free: 11.84 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 1.242e-06/1.242e-06, allocations: 0 / 329.7 MB, free: 29.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.825e-05, allocations: 3.156 kB / 329.7 MB, free: 29.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.001644/0.001662, allocations: 1.616 MB / 331.4 MB, free: 28.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007299/0.002392, allocations: 0.6357 MB / 332 MB, free: 27.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.002438, allocations: 0 / 332 MB, free: 27.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.258e-05/0.002481, allocations: 3.938 kB / 332 MB, free: 27.56 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.528e-05/0.002526, allocations: 11.91 kB / 332 MB, free: 27.55 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.002856, allocations: 83.59 kB / 332.1 MB, free: 27.47 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.22e-05/0.002908, allocations: 19.86 kB / 332.1 MB, free: 27.45 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.002943, allocations: 4 kB / 332.1 MB, free: 27.45 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.067e-05/0.002974, allocations: 15.92 kB / 332.1 MB, free: 27.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.375e-05/0.002998, allocations: 4 kB / 332.1 MB, free: 27.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.003007, allocations: 0 / 332.1 MB, free: 27.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.003173, allocations: 67.86 kB / 332.2 MB, free: 27.36 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.003186, allocations: 3.938 kB / 332.2 MB, free: 27.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.413e-05/0.0032, allocations: 11.92 kB / 332.2 MB, free: 27.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.003308, allocations: 63.86 kB / 332.3 MB, free: 27.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.003309, allocations: 4 kB / 332.3 MB, free: 27.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.00331, allocations: 0 / 332.3 MB, free: 27.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.003313, allocations: 0 / 332.3 MB, free: 27.28 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.0001948/0.003508, allocations: 372.4 kB / 332.6 MB, free: 26.88 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.003539, allocations: 11.98 kB / 332.7 MB, free: 26.87 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.003565, allocations: 8.891 kB / 332.7 MB, free: 26.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.557e-05/0.003621, allocations: 116.5 kB / 332.8 MB, free: 26.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.00363, allocations: 384 / 332.8 MB, free: 26.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-06/0.003636, allocations: 384 / 332.8 MB, free: 26.72 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.232e-05/0.003698, allocations: 61.56 kB / 332.8 MB, free: 26.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.003704, allocations: 4.188 kB / 332.8 MB, free: 26.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-06/0.003709, allocations: 384 / 332.8 MB, free: 26.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.003714, allocations: 3.938 kB / 332.8 MB, free: 26.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.969e-06/0.003724, allocations: 7.984 kB / 332.9 MB, free: 26.63 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.003898, allocations: 363.3 kB / 333.2 MB, free: 26.24 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.108e-05/0.003939, allocations: 58.12 kB / 333.3 MB, free: 26.16 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.324e-05/0.003952, allocations: 19.38 kB / 333.3 MB, free: 26.13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.004179, allocations: 68 kB / 333.3 MB, free: 26.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.004193, allocations: 37.33 kB / 333.4 MB, free: 26.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.004194, allocations: 0 / 333.4 MB, free: 26.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001173/0.004311, allocations: 49.59 kB / 333.4 MB, free: 25.96 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.004335, allocations: 81.09 kB / 333.5 MB, free: 25.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.954e-05/0.004385, allocations: 161.9 kB / 333.7 MB, free: 25.69 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.15e-06/0.00439, allocations: 25.7 kB / 333.7 MB, free: 25.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.004422, allocations: 134.8 kB / 333.8 MB, free: 25.52 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.271e-06/0.004428, allocations: 11.91 kB / 333.8 MB, free: 25.51 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.004449, allocations: 23.62 kB / 333.9 MB, free: 25.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.907e-05/0.004498, allocations: 0.4884 MB / 334.3 MB, free: 24.98 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-06/0.004505, allocations: 0 / 334.3 MB, free: 24.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.582e-05/0.004521, allocations: 23.38 kB / 334.4 MB, free: 24.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.067e-05/0.004542, allocations: 23.31 kB / 334.4 MB, free: 24.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.004544, allocations: 4.25 kB / 334.4 MB, free: 24.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.876e-05/0.004583, allocations: 37.64 kB / 334.4 MB, free: 24.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.004595, allocations: 11.94 kB / 334.4 MB, free: 24.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.004609, allocations: 4.094 kB / 334.5 MB, free: 24.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.227e-06/0.004618, allocations: 4 kB / 334.5 MB, free: 24.85 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.743e-05/0.004646, allocations: 11.98 kB / 334.5 MB, free: 24.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.004649, allocations: 0 / 334.5 MB, free: 24.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.218e-05/0.004661, allocations: 3.938 kB / 334.5 MB, free: 24.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.004665, allocations: 0 / 334.5 MB, free: 24.84 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.817e-05/0.004704, allocations: 156.6 kB / 334.6 MB, free: 24.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.004728, allocations: 7.891 kB / 334.6 MB, free: 24.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.004785, allocations: 52.92 kB / 334.7 MB, free: 24.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.004788, allocations: 4 kB / 334.7 MB, free: 24.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.00479, allocations: 4.031 kB / 334.7 MB, free: 24.6 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.004793, allocations: 0 / 334.7 MB, free: 24.6 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.004918, allocations: 250.1 kB / 334.9 MB, free: 24.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.00492, allocations: 0 / 334.9 MB, free: 24.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-06/0.004926, allocations: 4 kB / 334.9 MB, free: 24.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.004928, allocations: 3.938 kB / 334.9 MB, free: 24.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.326e-06/0.004931, allocations: 0 / 334.9 MB, free: 24.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.004933, allocations: 4 kB / 334.9 MB, free: 24.31 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.004934, allocations: 0 / 334.9 MB, free: 24.31 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.481e-05/0.004998, allocations: 315.1 kB / 335.3 MB, free: 23.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-06/0.005005, allocations: 15.94 kB / 335.3 MB, free: 23.97 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-06/0.005013, allocations: 4 kB / 335.3 MB, free: 23.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.815e-05/0.005051, allocations: 0 / 335.3 MB, free: 23.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.086e-05/0.005062, allocations: 0 / 335.3 MB, free: 23.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.005065, allocations: 3.984 kB / 335.3 MB, free: 23.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.793e-05/0.005083, allocations: 127.2 kB / 335.4 MB, free: 23.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.005083, allocations: 0 / 335.4 MB, free: 23.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001965/0.00528, allocations: 23.88 kB / 335.4 MB, free: 23.81 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 9.819e-05/0.005378, allocations: 123.2 kB / 335.5 MB, free: 23.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.695e-05/0.005445, allocations: 49.33 kB / 335.6 MB, free: 23.62 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.005446, allocations: 0 / 335.6 MB, free: 23.62 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.107e-05/0.005457, allocations: 41.38 kB / 335.6 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.0001802/0.005637, allocations: 0 / 335.6 MB, free: 23.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003024/0.00594, allocations: 152.5 kB / 335.8 MB, free: 23.4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.436e-05/0.005964, allocations: 55.36 kB / 335.8 MB, free: 23.32 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.314e-06/0.005971, allocations: 0 / 335.8 MB, free: 23.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.005995, allocations: 74.44 kB / 335.9 MB, free: 23.25 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.005995, allocations: 7.938 kB / 335.9 MB, free: 23.24 MB / 282.7 MB Notification: Performance of Templates: time 0.001858/0.007853, allocations: 0.6004 MB / 336.5 MB, free: 22.65 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: 2.911729933694005]