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.001001/0.001001, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001063/0.001063, allocations: 169 kB / 23.02 MB, free: 1.551 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.8379/0.8379, allocations: 158.6 MB / 184.9 MB, free: 2.941 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.1104/0.1104, allocations: 19.08 MB / 256.3 MB, free: 12.01 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.403e-06/1.403e-06, allocations: 3.938 kB / 328.5 MB, free: 30.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.545e-05, allocations: 3.719 kB / 328.5 MB, free: 30.1 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.001556/0.001582, allocations: 1.619 MB / 330.1 MB, free: 28.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007007/0.002282, allocations: 0.6357 MB / 330.8 MB, free: 27.84 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.422e-05/0.002316, allocations: 0 / 330.8 MB, free: 27.84 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.935e-05/0.002356, allocations: 0 / 330.8 MB, free: 27.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.002396, allocations: 23.84 kB / 330.8 MB, free: 27.81 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.002735, allocations: 63.67 kB / 330.8 MB, free: 27.75 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.861e-05/0.002793, allocations: 27.86 kB / 330.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.00283, allocations: 4 kB / 330.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.386e-05/0.002863, allocations: 15.98 kB / 330.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.488e-05/0.002888, allocations: 11.88 kB / 330.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.0029, allocations: 0 / 330.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.003081, allocations: 59.86 kB / 331 MB, free: 27.63 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.469e-05/0.003096, allocations: 11.98 kB / 331 MB, free: 27.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.798e-05/0.003114, allocations: 11.94 kB / 331 MB, free: 27.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.003235, allocations: 59.86 kB / 331 MB, free: 27.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.003238, allocations: 0 / 331 MB, free: 27.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.003239, allocations: 0 / 331 MB, free: 27.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.003243, allocations: 4 kB / 331 MB, free: 27.55 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.0002349/0.003478, allocations: 372.4 kB / 331.4 MB, free: 27.15 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.003513, allocations: 11.98 kB / 331.4 MB, free: 27.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.003549, allocations: 8.891 kB / 331.4 MB, free: 27.13 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.042e-05/0.003609, allocations: 108.6 kB / 331.5 MB, free: 27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.00362, allocations: 8.375 kB / 331.5 MB, free: 26.99 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/0.003628, allocations: 4.375 kB / 331.6 MB, free: 26.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.393e-05/0.003712, allocations: 53.62 kB / 331.6 MB, free: 26.92 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.00372, allocations: 192 / 331.6 MB, free: 26.92 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.003729, allocations: 12.3 kB / 331.6 MB, free: 26.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.003737, allocations: 3.938 kB / 331.6 MB, free: 26.9 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.566e-05/0.003753, allocations: 11.92 kB / 331.6 MB, free: 26.89 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002374/0.00399, allocations: 374.7 kB / 332 MB, free: 26.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.157e-05/0.004042, allocations: 62.16 kB / 332.1 MB, free: 26.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.004062, allocations: 27.44 kB / 332.1 MB, free: 26.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002724/0.004335, allocations: 63.89 kB / 332.1 MB, free: 26.3 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.004352, allocations: 33.39 kB / 332.2 MB, free: 26.26 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.004353, allocations: 0 / 332.2 MB, free: 26.26 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001286/0.004482, allocations: 57.58 kB / 332.2 MB, free: 26.2 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.004504, allocations: 77.11 kB / 332.3 MB, free: 26.1 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.22e-05/0.004556, allocations: 165.9 kB / 332.5 MB, free: 25.92 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.004561, allocations: 25.95 kB / 332.5 MB, free: 25.89 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.004589, allocations: 142.8 kB / 332.6 MB, free: 25.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-06/0.004596, allocations: 7.891 kB / 332.6 MB, free: 25.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.954e-05/0.004615, allocations: 23.38 kB / 332.7 MB, free: 25.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.513e-05/0.00465, allocations: 496.1 kB / 333.2 MB, free: 25.21 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.777e-06/0.004659, allocations: 4 kB / 333.2 MB, free: 25.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/0.004673, allocations: 19.38 kB / 333.2 MB, free: 25.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.122e-05/0.004694, allocations: 23.38 kB / 333.2 MB, free: 25.15 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.004696, allocations: 0 / 333.2 MB, free: 25.15 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.715e-05/0.004733, allocations: 57.59 kB / 333.3 MB, free: 25.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.004744, allocations: 4 kB / 333.3 MB, free: 25.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.004755, allocations: 4 kB / 333.3 MB, free: 25.08 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.004767, allocations: 0 / 333.3 MB, free: 25.08 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.229e-05/0.004799, allocations: 0 / 333.3 MB, free: 25.08 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.004805, allocations: 4 kB / 333.3 MB, free: 25.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.035e-05/0.004815, allocations: 0 / 333.3 MB, free: 25.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.004821, allocations: 0 / 333.3 MB, free: 25.07 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.818e-05/0.004859, allocations: 160.5 kB / 333.4 MB, free: 24.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.004879, allocations: 7.891 kB / 333.4 MB, free: 24.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.775e-05/0.004946, allocations: 49.06 kB / 333.5 MB, free: 24.85 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.004948, allocations: 0 / 333.5 MB, free: 24.85 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.004952, allocations: 4.25 kB / 333.5 MB, free: 24.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.004955, allocations: 0 / 333.5 MB, free: 24.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.005074, allocations: 277.4 kB / 333.8 MB, free: 24.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.005077, allocations: 3.938 kB / 333.8 MB, free: 24.53 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-06/0.005082, allocations: 4 kB / 333.8 MB, free: 24.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.005084, allocations: 3.984 kB / 333.8 MB, free: 24.52 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.005089, allocations: 0 / 333.8 MB, free: 24.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.00509, allocations: 4 kB / 333.8 MB, free: 24.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005091, allocations: 4.062 kB / 333.8 MB, free: 24.51 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.404e-05/0.005155, allocations: 311.1 kB / 334.1 MB, free: 24.19 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-06/0.00516, allocations: 3.953 kB / 334.1 MB, free: 24.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-06/0.005169, allocations: 4 kB / 334.1 MB, free: 24.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.702e-05/0.005206, allocations: 0 / 334.1 MB, free: 24.18 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.00522, allocations: 3.938 kB / 334.1 MB, free: 24.18 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.005223, allocations: 4 kB / 334.1 MB, free: 24.17 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.761e-05/0.005241, allocations: 131.2 kB / 334.2 MB, free: 24.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005241, allocations: 0 / 334.2 MB, free: 24.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001792/0.00542, allocations: 19.88 kB / 334.2 MB, free: 24.02 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.0001196/0.005539, allocations: 119.2 kB / 334.4 MB, free: 23.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.13e-05/0.005621, allocations: 49.38 kB / 334.4 MB, free: 23.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.005622, allocations: 0 / 334.4 MB, free: 23.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.005633, allocations: 41.33 kB / 334.4 MB, free: 23.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.005812, allocations: 7.938 kB / 334.5 MB, free: 23.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.006228, allocations: 144.9 kB / 334.6 MB, free: 23.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.954e-05/0.006258, allocations: 55.36 kB / 334.6 MB, free: 23.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.065e-06/0.006266, allocations: 0 / 334.6 MB, free: 23.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.241e-05/0.006278, allocations: 12.5 kB / 334.7 MB, free: 23.53 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006279, allocations: 0 / 334.7 MB, free: 23.53 MB / 282.7 MB Notification: Performance of Templates: time 0.002166/0.008445, allocations: 0.5911 MB / 335.3 MB, free: 22.95 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.6199610023759305]