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.0006599/0.0006599, allocations: 73.17 kB / 9.984 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008999/0.00156, allocations: 455.9 kB / 10.43 MB, free: 260 kB / 10.45 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.000702/0.000702, allocations: 165.2 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008881/0.00159, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8303/0.8303, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1292/0.9595, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.1238/0.1238, allocations: 19.13 MB / 240.5 MB, free: 13.45 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/Utilities/LinProgFunc.mo:6:1-33:16:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.01008/0.1339, allocations: 6.306 MB / 246.9 MB, free: 7.117 MB / 250.7 MB " [Timeout remaining time 180] Using package SolarTherm with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-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.252e-06/1.252e-06, allocations: 0 / 249.1 MB, free: 4.898 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.326e-06/9.578e-06, allocations: 2.312 kB / 249.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002499/0.002508, allocations: 1.675 MB / 250.7 MB, free: 3.207 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.003451, allocations: 0.6557 MB / 251.4 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.003472, allocations: 0 / 251.4 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.279e-05/0.003495, allocations: 3.938 kB / 251.4 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.203e-05/0.003517, allocations: 7.984 kB / 251.4 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.003707, allocations: 75.47 kB / 251.5 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 5.744e-05/0.003764, allocations: 27.86 kB / 251.5 MB, free: 2.426 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.003798, allocations: 4 kB / 251.5 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.367e-05/0.003842, allocations: 15.92 kB / 251.5 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.572e-05/0.003867, allocations: 8 kB / 251.5 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.017e-06/0.003876, allocations: 0 / 251.5 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.004052, allocations: 63.88 kB / 251.6 MB, free: 2.336 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.004065, allocations: 3.938 kB / 251.6 MB, free: 2.332 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.367e-05/0.004079, allocations: 8 kB / 251.6 MB, free: 2.324 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.004198, allocations: 59.81 kB / 251.7 MB, free: 2.266 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.155e-05/0.004209, allocations: 0 / 251.7 MB, free: 2.266 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.00421, allocations: 0 / 251.7 MB, free: 2.266 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.004218, allocations: 7.938 kB / 251.7 MB, free: 2.258 MB / 250.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.0002172/0.004435, allocations: 252.5 kB / 251.9 MB, free: 1.988 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.375e-05/0.004459, allocations: 20.02 kB / 251.9 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.941e-05/0.004479, allocations: 0.9375 kB / 251.9 MB, free: 1.969 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.704e-05/0.004536, allocations: 109.7 kB / 252 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-06/0.004543, allocations: 384 / 252 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-06/0.004548, allocations: 384 / 252 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.953e-05/0.004608, allocations: 59.95 kB / 252.1 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-06/0.004613, allocations: 192 / 252.1 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-06/0.004617, allocations: 384 / 252.1 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.004622, allocations: 3.938 kB / 252.1 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.457e-06/0.004631, allocations: 7.938 kB / 252.1 MB, free: 1.754 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.00479, allocations: 240.4 kB / 252.3 MB, free: 1.5 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.004829, allocations: 41.16 kB / 252.4 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.453e-05/0.004844, allocations: 13.75 kB / 252.4 MB, free: 1.422 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000209/0.005053, allocations: 56.02 kB / 252.5 MB, free: 1.367 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.00507, allocations: 34.56 kB / 252.5 MB, free: 1.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.005071, allocations: 0 / 252.5 MB, free: 1.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 9.006e-05/0.005161, allocations: 45.8 kB / 252.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.00519, allocations: 85.14 kB / 252.6 MB, free: 1.172 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.833e-05/0.005238, allocations: 106.7 kB / 252.7 MB, free: 1.055 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.005245, allocations: 25.7 kB / 252.7 MB, free: 1.023 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.947e-05/0.005275, allocations: 96 kB / 252.8 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.005281, allocations: 11.89 kB / 252.9 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.005301, allocations: 17.72 kB / 252.9 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.522e-05/0.005366, allocations: 310.8 kB / 253.2 MB, free: 0.5781 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.739e-06/0.005371, allocations: 4 kB / 253.2 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.077e-05/0.005381, allocations: 13.7 kB / 253.2 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.049e-05/0.005402, allocations: 25.73 kB / 253.2 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.005403, allocations: 0 / 253.2 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.387e-05/0.005437, allocations: 37.64 kB / 253.3 MB, free: 492 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.005448, allocations: 7.938 kB / 253.3 MB, free: 484 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.005457, allocations: 3.984 kB / 253.3 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.54e-06/0.005463, allocations: 4 kB / 253.3 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.797e-05/0.005481, allocations: 3.938 kB / 253.3 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-06/0.005482, allocations: 0 / 253.3 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.929e-06/0.005492, allocations: 4 kB / 253.3 MB, free: 468 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.005495, allocations: 64 / 253.3 MB, free: 468 kB / 250.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.693e-05/0.005532, allocations: 109.8 kB / 253.4 MB, free: 348 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.005557, allocations: 8 kB / 253.4 MB, free: 340 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/0.005606, allocations: 44.88 kB / 253.4 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.005607, allocations: 0 / 253.4 MB, free: 288 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.71e-07/0.005608, allocations: 4 kB / 253.4 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.00561, allocations: 0 / 253.4 MB, free: 284 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.005742, allocations: 178.8 kB / 253.6 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.005744, allocations: 0 / 253.6 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-06/0.00575, allocations: 4 kB / 253.6 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-06/0.005756, allocations: 15.89 kB / 253.6 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.005758, allocations: 4 kB / 253.6 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-06/0.005761, allocations: 4.25 kB / 253.6 MB, free: 52 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.005763, allocations: 7.984 kB / 253.6 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.005764, allocations: 0 / 253.6 MB, free: 44 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.662e-05/0.005841, allocations: 202.8 kB / 253.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-06/0.005848, allocations: 7.922 kB / 253.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.998e-05/0.005888, allocations: 0 / 253.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-06/0.005895, allocations: 3.938 kB / 253.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.005899, allocations: 4 kB / 253.9 MB, free: 15.81 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.977e-06/0.005908, allocations: 12.89 kB / 253.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005908, allocations: 0 / 253.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.006062, allocations: 15.94 kB / 253.9 MB, free: 15.78 MB / 266.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.0001018/0.006164, allocations: 116.2 kB / 254 MB, free: 15.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.448e-05/0.006238, allocations: 41.62 kB / 254 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.006241, allocations: 0 / 254 MB, free: 15.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.526e-05/0.006306, allocations: 33.7 kB / 254.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.006435, allocations: 8.375 kB / 254.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009385/0.007373, allocations: 140.3 kB / 254.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.872e-05/0.007402, allocations: 55.36 kB / 254.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.054e-06/0.007409, allocations: 0 / 254.3 MB, free: 15.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.007437, allocations: 55.38 kB / 254.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.007437, allocations: 0 / 254.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of Templates: time 0.00177/0.009208, allocations: 0.61 MB / 254.9 MB, free: 14.66 MB / 266.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 & (cd run_cvode && ../SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1) [Timeout 240] (rm -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_dassl.pipe ; mkfifo SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_dassl.pipe ; head -c 1048576 < SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_dassl.sim & (cd run_dassl && ../SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_dassl.pipe 2>&1) [Timeout 240] (rm -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_gbode.pipe ; mkfifo SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_gbode.pipe ; head -c 1048576 < SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_gbode.sim & (cd run_gbode && ../SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_gbode.pipe 2>&1) [Timeout 240] (rm -f SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_ida.pipe ; mkfifo SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_ida.pipe ; head -c 1048576 < SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_ida.sim & (cd run_ida && ../SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.402801802381873]