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.001813/0.001813, allocations: 84.73 kB / 19.44 MB, free: 360 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.002292/0.002292, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.42/1.42, allocations: 158.6 MB / 184.6 MB, free: 2.871 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.214/0.214, allocations: 19.07 MB / 255.9 MB, free: 12.08 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.904e-06/1.904e-06, allocations: 0 / 327.7 MB, free: 30.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.259e-05/2.45e-05, allocations: 3.156 kB / 327.7 MB, free: 30.48 MB / 282.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.001871/0.001896, allocations: 1.574 MB / 329.3 MB, free: 28.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008432/0.002739, allocations: 0.6084 MB / 329.9 MB, free: 28.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.002774, allocations: 3.938 kB / 329.9 MB, free: 28.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.00281, allocations: 0 / 329.9 MB, free: 28.29 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.002859, allocations: 15.91 kB / 329.9 MB, free: 28.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.003171, allocations: 83.53 kB / 330 MB, free: 28.19 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.173e-05/0.003223, allocations: 19.88 kB / 330 MB, free: 28.17 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.684e-05/0.00326, allocations: 0 / 330 MB, free: 28.17 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.215e-05/0.003292, allocations: 19.92 kB / 330.1 MB, free: 28.15 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.735e-05/0.003319, allocations: 7.984 kB / 330.1 MB, free: 28.14 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.00333, allocations: 0 / 330.1 MB, free: 28.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001887/0.003519, allocations: 59.88 kB / 330.1 MB, free: 28.09 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.003531, allocations: 7.922 kB / 330.1 MB, free: 28.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.003553, allocations: 8 kB / 330.2 MB, free: 28.07 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001341/0.003687, allocations: 67.8 kB / 330.2 MB, free: 28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.003689, allocations: 0 / 330.2 MB, free: 28 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00369, allocations: 0 / 330.2 MB, free: 28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.003695, allocations: 0 / 330.2 MB, free: 28 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.0002461/0.003941, allocations: 274.1 kB / 330.5 MB, free: 27.71 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.003974, allocations: 11.98 kB / 330.5 MB, free: 27.7 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.004013, allocations: 8.922 kB / 330.5 MB, free: 27.69 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.327e-05/0.004077, allocations: 113.7 kB / 330.6 MB, free: 27.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.004089, allocations: 4.312 kB / 330.6 MB, free: 27.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.004098, allocations: 4.375 kB / 330.6 MB, free: 27.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.213e-05/0.00419, allocations: 59.97 kB / 330.7 MB, free: 27.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.004198, allocations: 192 / 330.7 MB, free: 27.47 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.004207, allocations: 384 / 330.7 MB, free: 27.47 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.004211, allocations: 3.938 kB / 330.7 MB, free: 27.47 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.111e-05/0.004233, allocations: 7.938 kB / 330.7 MB, free: 27.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002406/0.004473, allocations: 276.8 kB / 331 MB, free: 27.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.539e-05/0.004529, allocations: 45.09 kB / 331 MB, free: 27.09 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.36e-05/0.004552, allocations: 13.84 kB / 331 MB, free: 27.07 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003919/0.004944, allocations: 67.89 kB / 331.1 MB, free: 27.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.004962, allocations: 30.56 kB / 331.1 MB, free: 26.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.004963, allocations: 0 / 331.1 MB, free: 26.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001716/0.005135, allocations: 61.56 kB / 331.2 MB, free: 26.9 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.005158, allocations: 77.11 kB / 331.3 MB, free: 26.81 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.92e-05/0.005217, allocations: 105.8 kB / 331.4 MB, free: 26.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.752e-06/0.005224, allocations: 25.7 kB / 331.4 MB, free: 26.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.627e-05/0.00525, allocations: 80.39 kB / 331.5 MB, free: 26.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.548e-06/0.005259, allocations: 19.89 kB / 331.5 MB, free: 26.56 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.005283, allocations: 13.72 kB / 331.5 MB, free: 26.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.005326, allocations: 318.8 kB / 331.8 MB, free: 26.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.005338, allocations: 4 kB / 331.8 MB, free: 26.22 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.5e-05/0.005353, allocations: 21.66 kB / 331.8 MB, free: 26.19 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.906e-05/0.005382, allocations: 21.72 kB / 331.9 MB, free: 26.16 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.005384, allocations: 0 / 331.9 MB, free: 26.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.724e-05/0.005441, allocations: 49.56 kB / 331.9 MB, free: 26.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.005452, allocations: 12.09 kB / 331.9 MB, free: 26.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.005463, allocations: 4 kB / 331.9 MB, free: 26.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.005481, allocations: 0 / 331.9 MB, free: 26.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.001e-05/0.005511, allocations: 7.938 kB / 331.9 MB, free: 26.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.005516, allocations: 0 / 331.9 MB, free: 26.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.005534, allocations: 3.938 kB / 331.9 MB, free: 26.08 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005539, allocations: 0 / 331.9 MB, free: 26.08 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.87e-05/0.005578, allocations: 109.8 kB / 332 MB, free: 25.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.856e-05/0.005616, allocations: 11.88 kB / 332 MB, free: 25.95 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.079e-05/0.005697, allocations: 48.95 kB / 332.1 MB, free: 25.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005699, allocations: 4.031 kB / 332.1 MB, free: 25.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.005703, allocations: 0 / 332.1 MB, free: 25.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.005705, allocations: 0 / 332.1 MB, free: 25.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.005873, allocations: 222.2 kB / 332.3 MB, free: 25.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.005876, allocations: 0 / 332.3 MB, free: 25.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.073e-05/0.005887, allocations: 4 kB / 332.3 MB, free: 25.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005889, allocations: 0 / 332.3 MB, free: 25.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.005894, allocations: 256 / 332.3 MB, free: 25.64 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.005896, allocations: 3.938 kB / 332.3 MB, free: 25.64 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.005897, allocations: 4 kB / 332.3 MB, free: 25.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.247e-05/0.00597, allocations: 222.8 kB / 332.5 MB, free: 25.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-06/0.005977, allocations: 7.953 kB / 332.6 MB, free: 25.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.005987, allocations: 4 kB / 332.6 MB, free: 25.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.006064, allocations: 0 / 332.6 MB, free: 25.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.006076, allocations: 0 / 332.6 MB, free: 25.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.006079, allocations: 4 kB / 332.6 MB, free: 25.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.983e-05/0.006099, allocations: 83.27 kB / 332.6 MB, free: 25.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006099, allocations: 0 / 332.6 MB, free: 25.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002803/0.006379, allocations: 19.88 kB / 332.7 MB, free: 25.28 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.0001314/0.006511, allocations: 127.9 kB / 332.8 MB, free: 25.15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.991e-05/0.006601, allocations: 37.7 kB / 332.8 MB, free: 25.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.006602, allocations: 0 / 332.8 MB, free: 25.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.742e-05/0.00662, allocations: 37.7 kB / 332.9 MB, free: 25.06 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.006909, allocations: 3.938 kB / 332.9 MB, free: 25.06 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002215/0.007131, allocations: 136.1 kB / 333 MB, free: 24.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.007167, allocations: 63.34 kB / 333.1 MB, free: 24.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.554e-06/0.007175, allocations: 4.188 kB / 333.1 MB, free: 24.82 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.007192, allocations: 12.5 kB / 333.1 MB, free: 24.8 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007192, allocations: 0 / 333.1 MB, free: 24.8 MB / 282.7 MB Notification: Performance of Templates: time 0.002821/0.01001, allocations: 0.5415 MB / 333.6 MB, free: 24.27 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=480 -lv LOG_STATS > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.425483391038142]