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.001768/0.001768, allocations: 85.48 kB / 19.44 MB, free: 344 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.001983/0.001983, allocations: 177.2 kB / 22.76 MB, free: 1.66 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 1.327/1.327, allocations: 158.6 MB / 184.6 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] 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.244/0.244, allocations: 19.08 MB / 255.9 MB, free: 12.06 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 179] 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.513e-06/1.513e-06, allocations: 0 / 327.8 MB, free: 30.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.003e-05/3.154e-05, allocations: 7.297 kB / 327.8 MB, free: 30.48 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002175/0.002207, allocations: 1.585 MB / 329.3 MB, free: 28.89 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.003112, allocations: 0.6356 MB / 330 MB, free: 28.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.003149, allocations: 7.938 kB / 330 MB, free: 28.24 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.549e-05/0.003184, allocations: 0 / 330 MB, free: 28.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.003236, allocations: 7.938 kB / 330 MB, free: 28.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.003586, allocations: 79.53 kB / 330.1 MB, free: 28.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.182e-05/0.003648, allocations: 27.86 kB / 330.1 MB, free: 28.13 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.003691, allocations: 0 / 330.1 MB, free: 28.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.022e-05/0.003731, allocations: 11.98 kB / 330.1 MB, free: 28.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.331e-05/0.003764, allocations: 11.92 kB / 330.1 MB, free: 28.11 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.003776, allocations: 0 / 330.1 MB, free: 28.11 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.00398, allocations: 63.88 kB / 330.2 MB, free: 28.04 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.003996, allocations: 0 / 330.2 MB, free: 28.04 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.004023, allocations: 15.92 kB / 330.2 MB, free: 28.03 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.004174, allocations: 67.8 kB / 330.3 MB, free: 27.96 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.004177, allocations: 0 / 330.3 MB, free: 27.96 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004177, allocations: 0 / 330.3 MB, free: 27.96 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.004182, allocations: 0 / 330.3 MB, free: 27.96 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.0002702/0.004453, allocations: 372.1 kB / 330.6 MB, free: 27.56 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.004496, allocations: 11.98 kB / 330.6 MB, free: 27.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.00454, allocations: 4.938 kB / 330.6 MB, free: 27.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.723e-05/0.004607, allocations: 116.5 kB / 330.8 MB, free: 27.41 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.004619, allocations: 4.312 kB / 330.8 MB, free: 27.4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.004627, allocations: 4.375 kB / 330.8 MB, free: 27.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.873e-05/0.004726, allocations: 57.62 kB / 330.8 MB, free: 27.33 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.004735, allocations: 192 / 330.8 MB, free: 27.33 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.004744, allocations: 4.375 kB / 330.8 MB, free: 27.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.004749, allocations: 3.938 kB / 330.8 MB, free: 27.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.266e-05/0.004772, allocations: 11.88 kB / 330.8 MB, free: 27.31 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.005028, allocations: 390.7 kB / 331.2 MB, free: 26.89 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.0051, allocations: 62.12 kB / 331.3 MB, free: 26.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.005125, allocations: 27.42 kB / 331.3 MB, free: 26.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004086/0.005533, allocations: 63.88 kB / 331.4 MB, free: 26.7 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.005554, allocations: 37.39 kB / 331.4 MB, free: 26.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.005555, allocations: 0 / 331.4 MB, free: 26.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001758/0.005731, allocations: 49.59 kB / 331.5 MB, free: 26.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.005756, allocations: 85.09 kB / 331.5 MB, free: 26.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.387e-05/0.00582, allocations: 158.2 kB / 331.7 MB, free: 26.33 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/0.005826, allocations: 33.7 kB / 331.7 MB, free: 26.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.005864, allocations: 130.9 kB / 331.9 MB, free: 26.16 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.005873, allocations: 11.91 kB / 331.9 MB, free: 26.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.005901, allocations: 23.38 kB / 331.9 MB, free: 26.11 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.485e-05/0.005966, allocations: 492.1 kB / 332.4 MB, free: 25.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/0.005979, allocations: 4 kB / 332.4 MB, free: 25.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.136e-05/0.006001, allocations: 31.33 kB / 332.4 MB, free: 25.58 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.006031, allocations: 27.38 kB / 332.4 MB, free: 25.54 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006033, allocations: 4.031 kB / 332.4 MB, free: 25.54 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.435e-05/0.006087, allocations: 45.58 kB / 332.5 MB, free: 25.49 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.006099, allocations: 4 kB / 332.5 MB, free: 25.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.006111, allocations: 3.984 kB / 332.5 MB, free: 25.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.006125, allocations: 4 kB / 332.5 MB, free: 25.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.933e-05/0.006154, allocations: 0 / 332.5 MB, free: 25.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.006158, allocations: 0 / 332.5 MB, free: 25.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.006175, allocations: 7.938 kB / 332.5 MB, free: 25.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.006181, allocations: 4 kB / 332.5 MB, free: 25.46 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 4.263e-05/0.006223, allocations: 152.6 kB / 332.7 MB, free: 25.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.00626, allocations: 15.89 kB / 332.7 MB, free: 25.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.469e-05/0.006354, allocations: 48.94 kB / 332.7 MB, free: 25.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.006357, allocations: 4 kB / 332.7 MB, free: 25.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.006361, allocations: 0 / 332.7 MB, free: 25.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.006363, allocations: 0 / 332.7 MB, free: 25.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.006536, allocations: 269.5 kB / 333 MB, free: 24.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.00654, allocations: 4 kB / 333 MB, free: 24.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.248e-06/0.006549, allocations: 0 / 333 MB, free: 24.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.006551, allocations: 3.938 kB / 333 MB, free: 24.92 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.006557, allocations: 4.062 kB / 333 MB, free: 24.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.006559, allocations: 7.938 kB / 333 MB, free: 24.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.00656, allocations: 0 / 333 MB, free: 24.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.59e-05/0.006656, allocations: 319.1 kB / 333.3 MB, free: 24.58 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-06/0.006663, allocations: 3.953 kB / 333.3 MB, free: 24.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.006675, allocations: 8.234 kB / 333.3 MB, free: 24.57 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.006743, allocations: 8 kB / 333.3 MB, free: 24.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.086e-05/0.006764, allocations: 0 / 333.3 MB, free: 24.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.006767, allocations: 0 / 333.3 MB, free: 24.56 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.24e-05/0.006799, allocations: 123.2 kB / 333.5 MB, free: 24.44 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006799, allocations: 0 / 333.5 MB, free: 24.44 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000261/0.00706, allocations: 31.89 kB / 333.5 MB, free: 24.41 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.0001634/0.007224, allocations: 127.8 kB / 333.6 MB, free: 24.27 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.007325, allocations: 45.38 kB / 333.7 MB, free: 24.22 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007327, allocations: 0 / 333.7 MB, free: 24.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.183e-05/0.007349, allocations: 45.39 kB / 333.7 MB, free: 24.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.007611, allocations: 3.938 kB / 333.7 MB, free: 24.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.007884, allocations: 144.9 kB / 333.8 MB, free: 23.99 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.464e-05/0.007928, allocations: 67.34 kB / 333.9 MB, free: 23.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.825e-06/0.007936, allocations: 0 / 333.9 MB, free: 23.91 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.217e-05/0.007948, allocations: 8.5 kB / 333.9 MB, free: 23.9 MB / 282.7 MB Notification: Performance of SimCode: time 4.11e-07/0.007949, allocations: 0 / 333.9 MB, free: 23.9 MB / 282.7 MB Notification: Performance of Templates: time 0.002999/0.01095, allocations: 0.5378 MB / 334.5 MB, free: 23.36 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: 4.951826156000607]