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.00066/0.00066, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008912/0.001551, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006791/0.0006791, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009203/0.001599, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.107/1.107, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1765/1.284, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/package.mo): time 0.123/0.123, allocations: 19.13 MB / 240.5 MB, free: 13.46 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-master/Utilities/LinProgFunc.mo:6:1-33:16:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.0143/0.1373, allocations: 6.298 MB / 246.8 MB, free: 7.133 MB / 250.7 MB " [Timeout remaining time 180] Using package SolarTherm with version 0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SolarTherm 0.2.0-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.382e-06/1.382e-06, allocations: 0 / 249.1 MB, free: 4.898 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.79e-05, allocations: 2.312 kB / 249.1 MB, free: 4.895 MB / 250.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002248/0.002276, allocations: 1.664 MB / 250.7 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007373/0.003014, allocations: 0.6512 MB / 251.4 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.003052, allocations: 0 / 251.4 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.2e-05/0.003104, allocations: 11.92 kB / 251.4 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.425e-05/0.003138, allocations: 7.922 kB / 251.4 MB, free: 2.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.003382, allocations: 71.55 kB / 251.5 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.803e-05/0.00345, allocations: 27.86 kB / 251.5 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.003491, allocations: 7.984 kB / 251.5 MB, free: 2.434 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.634e-05/0.003547, allocations: 11.94 kB / 251.5 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.594e-05/0.003583, allocations: 7.984 kB / 251.5 MB, free: 2.414 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.003595, allocations: 4 kB / 251.5 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.003812, allocations: 59.88 kB / 251.6 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.003829, allocations: 7.938 kB / 251.6 MB, free: 2.344 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.578e-05/0.003845, allocations: 4 kB / 251.6 MB, free: 2.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.003991, allocations: 63.77 kB / 251.6 MB, free: 2.277 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.004004, allocations: 0 / 251.6 MB, free: 2.277 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004005, allocations: 0 / 251.6 MB, free: 2.277 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.004015, allocations: 4 kB / 251.7 MB, free: 2.273 MB / 250.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.0003393/0.004354, allocations: 252.5 kB / 251.9 MB, free: 2.004 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.004387, allocations: 8.031 kB / 251.9 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.004418, allocations: 4.938 kB / 251.9 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.004527, allocations: 113.8 kB / 252 MB, free: 1.855 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.004539, allocations: 8.312 kB / 252 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.004549, allocations: 384 / 252 MB, free: 1.848 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.846e-05/0.004648, allocations: 51.97 kB / 252.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.004657, allocations: 192 / 252.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.004665, allocations: 4.375 kB / 252.1 MB, free: 1.781 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.004673, allocations: 3.938 kB / 252.1 MB, free: 1.777 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.25e-05/0.004686, allocations: 11.94 kB / 252.1 MB, free: 1.766 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.004925, allocations: 232.4 kB / 252.3 MB, free: 1.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.364e-05/0.004979, allocations: 41.09 kB / 252.4 MB, free: 1.461 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.004996, allocations: 13.84 kB / 252.4 MB, free: 1.441 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.005257, allocations: 56 kB / 252.4 MB, free: 1.387 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.005283, allocations: 34.55 kB / 252.5 MB, free: 1.344 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.005284, allocations: 4 kB / 252.5 MB, free: 1.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001212/0.005406, allocations: 49.58 kB / 252.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.00544, allocations: 77.11 kB / 252.6 MB, free: 1.191 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.673e-05/0.005507, allocations: 110.7 kB / 252.7 MB, free: 1.07 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.906e-06/0.005515, allocations: 25.7 kB / 252.7 MB, free: 1.039 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.005553, allocations: 84.08 kB / 252.8 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.464e-06/0.00556, allocations: 11.91 kB / 252.8 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.005585, allocations: 17.69 kB / 252.8 MB, free: 0.918 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.011e-05/0.005665, allocations: 318.8 kB / 253.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.843e-06/0.005672, allocations: 0 / 253.2 MB, free: 0.5977 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.005779, allocations: 25.84 kB / 253.2 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.005804, allocations: 17.7 kB / 253.2 MB, free: 0.543 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.005806, allocations: 0 / 253.2 MB, free: 0.543 MB / 250.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.523e-05/0.005861, allocations: 37.64 kB / 253.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.005876, allocations: 11.94 kB / 253.2 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.00589, allocations: 0 / 253.2 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.005905, allocations: 0 / 253.2 MB, free: 500 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.709e-05/0.005942, allocations: 4 kB / 253.2 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.005946, allocations: 8.078 kB / 253.3 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.005961, allocations: 0 / 253.3 MB, free: 488 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.00597, allocations: 0 / 253.3 MB, free: 488 kB / 250.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 6.333e-05/0.006033, allocations: 109.8 kB / 253.4 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.063e-05/0.006054, allocations: 0 / 253.4 MB, free: 368 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.669e-05/0.006141, allocations: 52.88 kB / 253.4 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.006143, allocations: 0 / 253.4 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-06/0.006145, allocations: 0 / 253.4 MB, free: 308 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.006157, allocations: 4.031 kB / 253.4 MB, free: 304 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.006316, allocations: 178.9 kB / 253.6 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.00632, allocations: 4.062 kB / 253.6 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.006333, allocations: 0 / 253.6 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-06/0.006342, allocations: 16.08 kB / 253.6 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.006344, allocations: 0 / 253.6 MB, free: 80 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-06/0.006349, allocations: 4 kB / 253.6 MB, free: 76 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.00635, allocations: 3.938 kB / 253.6 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00635, allocations: 4 kB / 253.6 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.006812, allocations: 206.8 kB / 253.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.006824, allocations: 3.938 kB / 253.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.202e-05/0.006866, allocations: 4 kB / 253.8 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.006879, allocations: 8.016 kB / 253.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.006882, allocations: 0 / 253.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.653e-05/0.006898, allocations: 12.84 kB / 253.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006899, allocations: 0 / 253.9 MB, free: 15.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001661/0.007065, allocations: 19.94 kB / 253.9 MB, free: 15.8 MB / 266.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.0001684/0.007233, allocations: 112.2 kB / 254 MB, free: 15.68 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.426e-05/0.007327, allocations: 46.5 kB / 254 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.007332, allocations: 0 / 254 MB, free: 15.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/0.007357, allocations: 38.83 kB / 254.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001569/0.007513, allocations: 12.03 kB / 254.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.00858, allocations: 148.3 kB / 254.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.023e-05/0.00862, allocations: 51.36 kB / 254.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.341e-05/0.008634, allocations: 0 / 254.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.008673, allocations: 51.38 kB / 254.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.008674, allocations: 4 kB / 254.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of Templates: time 0.002297/0.01097, allocations: 0.606 MB / 254.9 MB, free: 14.66 MB / 266.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: 3.058469449169934]