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.0008245/0.0008245, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001801/0.001801, allocations: 181 kB / 23.36 MB, free: 1.133 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.76/0.76, allocations: 158.6 MB / 185.2 MB, free: 2.766 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.1083/0.1083, allocations: 19.09 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.442e-06/1.442e-06, allocations: 0 / 279.9 MB, free: 4.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.398e-05/1.542e-05, allocations: 2.312 kB / 279.9 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.005376/0.005392, allocations: 1.628 MB / 281.5 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.006422, allocations: 0.6432 MB / 282.2 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.169e-05/0.006454, allocations: 4 kB / 282.2 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.006491, allocations: 0 / 282.2 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 4.304e-05/0.006534, allocations: 11.86 kB / 282.2 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.006874, allocations: 75.66 kB / 282.3 MB, free: 2.227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.809e-05/0.006942, allocations: 31.8 kB / 282.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.35e-05/0.006976, allocations: 0 / 282.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.853e-05/0.007014, allocations: 15.92 kB / 282.3 MB, free: 2.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.875e-05/0.007043, allocations: 4 kB / 282.3 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.007054, allocations: 4 kB / 282.3 MB, free: 2.172 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.007259, allocations: 63.86 kB / 282.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.611e-05/0.007275, allocations: 3.938 kB / 282.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.594e-05/0.007291, allocations: 4 kB / 282.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.007432, allocations: 71.78 kB / 282.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.007434, allocations: 0 / 282.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007435, allocations: 0 / 282.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.007438, allocations: 0 / 282.4 MB, free: 2.031 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.0002483/0.007686, allocations: 244.8 kB / 282.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.007719, allocations: 15.92 kB / 282.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.007746, allocations: 4.938 kB / 282.7 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.01084, allocations: 117.7 kB / 282.8 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.01086, allocations: 4.375 kB / 282.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.01087, allocations: 384 / 282.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.628e-05/0.01095, allocations: 47.97 kB / 282.9 MB, free: 1.547 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.01096, allocations: 4.188 kB / 282.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.01097, allocations: 4.375 kB / 282.9 MB, free: 1.539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.01098, allocations: 3.938 kB / 282.9 MB, free: 1.535 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.39e-05/0.01099, allocations: 7.938 kB / 282.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.01124, allocations: 236.4 kB / 283.1 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.847e-05/0.01131, allocations: 45.09 kB / 283.2 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.01133, allocations: 13.84 kB / 283.2 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/0.01163, allocations: 63.98 kB / 283.2 MB, free: 1.133 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.01166, allocations: 38.55 kB / 283.3 MB, free: 1.086 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.01166, allocations: 3.938 kB / 283.3 MB, free: 1.082 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001259/0.01179, allocations: 37.64 kB / 283.3 MB, free: 1.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.01183, allocations: 81.3 kB / 283.4 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.354e-05/0.01189, allocations: 114.7 kB / 283.5 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.0119, allocations: 25.7 kB / 283.5 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/0.01194, allocations: 92.09 kB / 283.6 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.01195, allocations: 7.891 kB / 283.6 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.01198, allocations: 21.69 kB / 283.7 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.01206, allocations: 310.8 kB / 284 MB, free: 352 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-06/0.01207, allocations: 0 / 284 MB, free: 352 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.01208, allocations: 13.72 kB / 284 MB, free: 332 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/0.01211, allocations: 21.7 kB / 284 MB, free: 304 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.01211, allocations: 4.031 kB / 284 MB, free: 300 kB / 266.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.028e-05/0.01216, allocations: 37.64 kB / 284 MB, free: 256 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.01217, allocations: 7.938 kB / 284 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.01218, allocations: 4 kB / 284 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.01219, allocations: 0 / 284 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.594e-05/0.01222, allocations: 7.984 kB / 284.1 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.01222, allocations: 0 / 284.1 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.626e-05/0.01224, allocations: 0 / 284.1 MB, free: 236 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.01224, allocations: 7.938 kB / 284.1 MB, free: 228 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.306e-05/0.0123, allocations: 113.8 kB / 284.2 MB, free: 104 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.01233, allocations: 4 kB / 284.2 MB, free: 100 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.01239, allocations: 40.94 kB / 284.2 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01239, allocations: 0 / 284.2 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.01239, allocations: 4 kB / 284.2 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.0124, allocations: 0 / 284.2 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.01262, allocations: 186.8 kB / 284.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.01262, allocations: 0 / 284.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.428e-06/0.01263, allocations: 4 kB / 284.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01263, allocations: 3.938 kB / 284.4 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-06/0.01264, allocations: 4.062 kB / 284.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01264, allocations: 256 / 284.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.01264, allocations: 0 / 284.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.669e-05/0.01273, allocations: 210.8 kB / 284.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-06/0.01274, allocations: 7.953 kB / 284.6 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.01275, allocations: 7.938 kB / 284.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.117e-05/0.01282, allocations: 0 / 284.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.01284, allocations: 3.984 kB / 284.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.01284, allocations: 0 / 284.6 MB, free: 15.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.61e-05/0.01286, allocations: 16.84 kB / 284.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01286, allocations: 32 / 284.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002711/0.01313, allocations: 27.88 kB / 284.7 MB, free: 15.54 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.0001421/0.01327, allocations: 100.3 kB / 284.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.132e-05/0.01334, allocations: 38.5 kB / 284.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.01335, allocations: 4 kB / 284.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.148e-05/0.01337, allocations: 38.55 kB / 284.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003221/0.01659, allocations: 4 kB / 284.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003906/0.01698, allocations: 140.7 kB / 285 MB, free: 15.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.01702, allocations: 59.34 kB / 285.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.087e-06/0.01703, allocations: 3.938 kB / 285.1 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.839e-05/0.01707, allocations: 55.38 kB / 285.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01707, allocations: 0 / 285.1 MB, free: 15.04 MB / 282.7 MB Notification: Performance of Templates: time 0.002386/0.01945, allocations: 0.5936 MB / 285.7 MB, free: 14.44 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.5395194832235575]