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.0009562/0.0009562, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009669/0.0009669, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.8347/0.8347, allocations: 158.6 MB / 185.2 MB, free: 2.773 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.1165/0.1165, allocations: 19.08 MB / 256.6 MB, free: 11.91 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.503e-06/1.503e-06, allocations: 0 / 279.9 MB, free: 4.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.333e-05/1.483e-05, allocations: 2.312 kB / 279.9 MB, free: 4.562 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002397/0.002411, allocations: 1.671 MB / 281.6 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009722/0.003384, allocations: 0.6471 MB / 282.3 MB, free: 2.219 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.003417, allocations: 4 kB / 282.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.003451, allocations: 3.938 kB / 282.3 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.003495, allocations: 7.922 kB / 282.3 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003045/0.0038, allocations: 75.59 kB / 282.3 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.355e-05/0.003863, allocations: 31.8 kB / 282.4 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.328e-05/0.003897, allocations: 0 / 282.4 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.003936, allocations: 11.98 kB / 282.4 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.697e-05/0.003963, allocations: 8 kB / 282.4 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.067e-06/0.003972, allocations: 0 / 282.4 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.004198, allocations: 67.8 kB / 282.5 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.073e-05/0.004208, allocations: 4 kB / 282.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.659e-05/0.004225, allocations: 7.984 kB / 282.5 MB, free: 2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.004369, allocations: 71.73 kB / 282.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004371, allocations: 0 / 282.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004371, allocations: 0 / 282.5 MB, free: 1.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.004375, allocations: 0 / 282.5 MB, free: 1.93 MB / 266.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.0002311/0.004606, allocations: 244.8 kB / 282.8 MB, free: 1.668 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.004639, allocations: 11.98 kB / 282.8 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.004663, allocations: 8.938 kB / 282.8 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.295e-05/0.004746, allocations: 117.7 kB / 282.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.004755, allocations: 384 / 282.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-06/0.004761, allocations: 384 / 282.9 MB, free: 1.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.14e-05/0.004832, allocations: 51.92 kB / 283 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.00484, allocations: 4.172 kB / 283 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-06/0.004846, allocations: 384 / 283 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.004854, allocations: 3.938 kB / 283 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.187e-05/0.004866, allocations: 4 kB / 283 MB, free: 1.434 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.005083, allocations: 240.4 kB / 283.2 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.233e-05/0.005136, allocations: 45.22 kB / 283.3 MB, free: 1.117 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.005153, allocations: 9.719 kB / 283.3 MB, free: 1.102 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.005441, allocations: 67.95 kB / 283.3 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.005464, allocations: 30.56 kB / 283.4 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.005466, allocations: 0 / 283.4 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001254/0.005591, allocations: 49.78 kB / 283.4 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.005631, allocations: 81.14 kB / 283.5 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.005695, allocations: 110.7 kB / 283.6 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.257e-06/0.005704, allocations: 25.7 kB / 283.6 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.005741, allocations: 88.09 kB / 283.7 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.666e-06/0.005749, allocations: 11.88 kB / 283.7 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.005775, allocations: 13.72 kB / 283.7 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.221e-05/0.005857, allocations: 318.8 kB / 284 MB, free: 256 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.462e-06/0.005863, allocations: 0 / 284 MB, free: 256 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/0.005879, allocations: 13.72 kB / 284.1 MB, free: 236 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.005908, allocations: 29.61 kB / 284.1 MB, free: 200 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.00591, allocations: 0 / 284.1 MB, free: 200 kB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.554e-05/0.005965, allocations: 41.62 kB / 284.1 MB, free: 152 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.005979, allocations: 11.94 kB / 284.1 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.005989, allocations: 0 / 284.1 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.006, allocations: 0 / 284.1 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.277e-05/0.006022, allocations: 0 / 284.1 MB, free: 140 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.006027, allocations: 4 kB / 284.1 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.777e-05/0.006045, allocations: 7.984 kB / 284.2 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.00605, allocations: 0 / 284.2 MB, free: 128 kB / 266.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 5.108e-05/0.006101, allocations: 113.9 kB / 284.3 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.006136, allocations: 0 / 284.3 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.275e-05/0.006219, allocations: 45.14 kB / 284.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.006222, allocations: 48 / 284.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.006224, allocations: 3.984 kB / 284.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.006227, allocations: 0 / 284.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.00644, allocations: 182.8 kB / 284.5 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.006445, allocations: 4.25 kB / 284.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.098e-05/0.006456, allocations: 4 kB / 284.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006458, allocations: 4.062 kB / 284.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.006465, allocations: 7.938 kB / 284.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.006467, allocations: 0 / 284.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006468, allocations: 0 / 284.5 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.19e-05/0.006559, allocations: 210.8 kB / 284.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.006567, allocations: 7.953 kB / 284.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-06/0.006577, allocations: 3.938 kB / 284.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.877e-05/0.006655, allocations: 0 / 284.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/0.006668, allocations: 7.984 kB / 284.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.006672, allocations: 0 / 284.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.411e-05/0.006686, allocations: 12.86 kB / 284.7 MB, free: 15.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006686, allocations: 4.031 kB / 284.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.006959, allocations: 23.88 kB / 284.8 MB, free: 15.44 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.0001292/0.007088, allocations: 96.33 kB / 284.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.106e-05/0.007159, allocations: 46.48 kB / 284.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.007162, allocations: 3.938 kB / 284.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.063e-05/0.007182, allocations: 38.55 kB / 285 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.007422, allocations: 8 kB / 285 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003655/0.007787, allocations: 140.6 kB / 285.1 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.007828, allocations: 55.34 kB / 285.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.604e-06/0.007836, allocations: 0 / 285.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.008003, allocations: 51.38 kB / 285.2 MB, free: 14.94 MB / 282.7 MB Notification: Performance of SimCode: time 8.71e-07/0.008004, allocations: 0 / 285.2 MB, free: 14.94 MB / 282.7 MB Notification: Performance of Templates: time 0.002379/0.01038, allocations: 0.5934 MB / 285.8 MB, free: 14.34 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5328484629280865]