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.001446/0.001446, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001018/0.001018, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.8688/0.8688, allocations: 158.6 MB / 185.3 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.07942/0.07942, allocations: 19.08 MB / 256.6 MB, free: 12.09 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.233e-06/1.233e-06, allocations: 3.938 kB / 328.5 MB, free: 30.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.131e-05, allocations: 2.312 kB / 328.5 MB, free: 30.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.001505/0.001526, allocations: 1.619 MB / 330.1 MB, free: 28.81 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006412/0.002167, allocations: 0.6318 MB / 330.8 MB, free: 28.17 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.002198, allocations: 4 kB / 330.8 MB, free: 28.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.002231, allocations: 0 / 330.8 MB, free: 28.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.491e-05/0.002266, allocations: 11.86 kB / 330.8 MB, free: 28.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002776/0.002543, allocations: 71.66 kB / 330.9 MB, free: 28.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.516e-05/0.002599, allocations: 23.86 kB / 330.9 MB, free: 28.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.002635, allocations: 8 kB / 330.9 MB, free: 28.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.926e-05/0.002664, allocations: 15.92 kB / 330.9 MB, free: 28.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.474e-05/0.002689, allocations: 7.938 kB / 330.9 MB, free: 28.03 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.0027, allocations: 4 kB / 330.9 MB, free: 28.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001709/0.002871, allocations: 59.88 kB / 331 MB, free: 27.96 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.002884, allocations: 7.984 kB / 331 MB, free: 27.96 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.679e-05/0.002901, allocations: 7.938 kB / 331 MB, free: 27.95 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.00302, allocations: 63.86 kB / 331 MB, free: 27.89 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003021, allocations: 0 / 331 MB, free: 27.89 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003022, allocations: 0 / 331 MB, free: 27.89 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.003027, allocations: 0 / 331 MB, free: 27.89 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.000207/0.003234, allocations: 376.4 kB / 331.4 MB, free: 27.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.003267, allocations: 15.98 kB / 331.4 MB, free: 27.47 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.003301, allocations: 8.891 kB / 331.4 MB, free: 27.46 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.252e-05/0.003363, allocations: 116.6 kB / 331.6 MB, free: 27.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.003373, allocations: 384 / 331.6 MB, free: 27.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-06/0.003382, allocations: 8.312 kB / 331.6 MB, free: 27.31 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.666e-05/0.003458, allocations: 53.62 kB / 331.6 MB, free: 27.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.003465, allocations: 192 / 331.6 MB, free: 27.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.003473, allocations: 4.359 kB / 331.6 MB, free: 27.24 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.003481, allocations: 7.938 kB / 331.6 MB, free: 27.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.54e-05/0.003496, allocations: 11.94 kB / 331.6 MB, free: 27.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.003709, allocations: 378.8 kB / 332 MB, free: 26.81 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.458e-05/0.003754, allocations: 58.06 kB / 332.1 MB, free: 26.73 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.917e-05/0.003773, allocations: 23.5 kB / 332.1 MB, free: 26.7 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.004033, allocations: 63.89 kB / 332.1 MB, free: 26.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.004047, allocations: 41.38 kB / 332.2 MB, free: 26.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.004048, allocations: 0 / 332.2 MB, free: 26.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001291/0.004177, allocations: 49.59 kB / 332.2 MB, free: 26.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.004197, allocations: 77.36 kB / 332.3 MB, free: 26.44 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.117e-05/0.004248, allocations: 169.9 kB / 332.5 MB, free: 26.25 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-06/0.004253, allocations: 29.7 kB / 332.5 MB, free: 26.22 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.004279, allocations: 130.8 kB / 332.6 MB, free: 26.09 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.004286, allocations: 15.88 kB / 332.7 MB, free: 26.07 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/0.004305, allocations: 23.36 kB / 332.7 MB, free: 26.04 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.31e-05/0.004339, allocations: 496.1 kB / 333.2 MB, free: 25.54 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-06/0.004347, allocations: 0 / 333.2 MB, free: 25.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.004359, allocations: 19.38 kB / 333.2 MB, free: 25.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.2e-05/0.004381, allocations: 31.36 kB / 333.2 MB, free: 25.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.004382, allocations: 4.031 kB / 333.2 MB, free: 25.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.753e-05/0.00442, allocations: 45.58 kB / 333.3 MB, free: 25.42 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.004431, allocations: 8 kB / 333.3 MB, free: 25.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.004441, allocations: 0 / 333.3 MB, free: 25.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.004452, allocations: 0 / 333.3 MB, free: 25.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.025e-05/0.004482, allocations: 4 kB / 333.3 MB, free: 25.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.004487, allocations: 0 / 333.3 MB, free: 25.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.152e-05/0.004498, allocations: 3.984 kB / 333.3 MB, free: 25.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.004503, allocations: 4 kB / 333.3 MB, free: 25.4 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.619e-05/0.004539, allocations: 160.6 kB / 333.4 MB, free: 25.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.00456, allocations: 11.89 kB / 333.4 MB, free: 25.22 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.113e-05/0.004622, allocations: 45 kB / 333.5 MB, free: 25.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.004624, allocations: 0 / 333.5 MB, free: 25.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.004627, allocations: 3.938 kB / 333.5 MB, free: 25.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.00463, allocations: 256 / 333.5 MB, free: 25.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.004751, allocations: 277.4 kB / 333.8 MB, free: 24.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.004753, allocations: 4 kB / 333.8 MB, free: 24.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-06/0.004759, allocations: 0 / 333.8 MB, free: 24.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.004761, allocations: 4 kB / 333.8 MB, free: 24.85 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.004767, allocations: 4.062 kB / 333.8 MB, free: 24.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.004767, allocations: 0 / 333.8 MB, free: 24.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.004768, allocations: 0 / 333.8 MB, free: 24.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.552e-05/0.004824, allocations: 311.1 kB / 334.1 MB, free: 24.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-06/0.004828, allocations: 7.953 kB / 334.1 MB, free: 24.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.276e-06/0.004837, allocations: 0 / 334.1 MB, free: 24.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.867e-05/0.004875, allocations: 0 / 334.1 MB, free: 24.52 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.004889, allocations: 11.92 kB / 334.1 MB, free: 24.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.004892, allocations: 0 / 334.1 MB, free: 24.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.598e-05/0.004908, allocations: 127.2 kB / 334.2 MB, free: 24.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004908, allocations: 0 / 334.2 MB, free: 24.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.005083, allocations: 27.91 kB / 334.2 MB, free: 24.35 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.0001086/0.005191, allocations: 118.4 kB / 334.4 MB, free: 24.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.653e-05/0.005268, allocations: 45.39 kB / 334.4 MB, free: 24.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.00527, allocations: 0 / 334.4 MB, free: 24.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.128e-05/0.005281, allocations: 49.31 kB / 334.5 MB, free: 24.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.005463, allocations: 3.938 kB / 334.5 MB, free: 24.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.005834, allocations: 144.9 kB / 334.6 MB, free: 23.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.549e-05/0.005859, allocations: 59.34 kB / 334.7 MB, free: 23.87 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.224e-06/0.005866, allocations: 0 / 334.7 MB, free: 23.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.125e-05/0.005878, allocations: 8.5 kB / 334.7 MB, free: 23.86 MB / 282.7 MB Notification: Performance of SimCode: time 5.21e-07/0.005878, allocations: 0 / 334.7 MB, free: 23.86 MB / 282.7 MB Notification: Performance of Templates: time 0.001976/0.007854, allocations: 0.5498 MB / 335.2 MB, free: 23.32 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.860868806950748]