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.0008715/0.0008715, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.002041, allocations: 435.8 kB / 10.33 MB, free: 368 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.0009168/0.0009168, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001183/0.0021, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.8483/0.8483, allocations: 158.6 MB / 171 MB, free: 2.59 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1444/0.9927, allocations: 49.5 MB / 220.5 MB, free: 1.445 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.1297/0.1297, allocations: 19.12 MB / 240.4 MB, free: 13.56 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.01056/0.1403, allocations: 6.286 MB / 246.7 MB, free: 7.25 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.362e-06/1.362e-06, allocations: 0 / 248.9 MB, free: 5.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.09e-05/1.226e-05, allocations: 2.312 kB / 248.9 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002431/0.002443, allocations: 1.679 MB / 250.5 MB, free: 3.359 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001074/0.003517, allocations: 0.6512 MB / 251.2 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.502e-05/0.003542, allocations: 0 / 251.2 MB, free: 2.699 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.908e-05/0.003571, allocations: 3.938 kB / 251.2 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 2.597e-05/0.003597, allocations: 0 / 251.2 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002983/0.003896, allocations: 83.47 kB / 251.3 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.117e-05/0.003967, allocations: 23.86 kB / 251.3 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.149e-05/0.004008, allocations: 15.98 kB / 251.3 MB, free: 2.574 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.029e-05/0.004069, allocations: 15.92 kB / 251.3 MB, free: 2.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.316e-05/0.004102, allocations: 4 kB / 251.3 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.004112, allocations: 0 / 251.3 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.004345, allocations: 59.94 kB / 251.4 MB, free: 2.496 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.004357, allocations: 3.938 kB / 251.4 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.004375, allocations: 4 kB / 251.4 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.004535, allocations: 67.75 kB / 251.5 MB, free: 2.422 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.607e-05/0.004551, allocations: 0 / 251.5 MB, free: 2.422 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004552, allocations: 3.938 kB / 251.5 MB, free: 2.418 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.004567, allocations: 4 kB / 251.5 MB, free: 2.414 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.0003411/0.004908, allocations: 248.5 kB / 251.7 MB, free: 2.148 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.004946, allocations: 8.031 kB / 251.7 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.004981, allocations: 8.922 kB / 251.7 MB, free: 2.133 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.998e-05/0.005081, allocations: 113.8 kB / 251.8 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.005094, allocations: 4.359 kB / 251.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-06/0.005102, allocations: 384 / 251.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.005275, allocations: 55.91 kB / 251.9 MB, free: 1.926 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.005283, allocations: 192 / 251.9 MB, free: 1.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.00529, allocations: 384 / 251.9 MB, free: 1.926 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.005299, allocations: 7.938 kB / 251.9 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.029e-05/0.005319, allocations: 8 kB / 251.9 MB, free: 1.91 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.005584, allocations: 232.4 kB / 252.1 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.406e-05/0.005658, allocations: 41.27 kB / 252.2 MB, free: 1.605 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.825e-05/0.005676, allocations: 13.72 kB / 252.2 MB, free: 1.586 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003305/0.006006, allocations: 59.98 kB / 252.3 MB, free: 1.527 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.006032, allocations: 38.5 kB / 252.3 MB, free: 1.48 MB / 250.7 MB Notification: Performance of pre-optimization done (n=3): time 3.497e-06/0.006035, allocations: 4 kB / 252.3 MB, free: 1.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001319/0.006167, allocations: 45.58 kB / 252.3 MB, free: 1.426 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.00621, allocations: 77.11 kB / 252.4 MB, free: 1.332 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.735e-05/0.006278, allocations: 110.7 kB / 252.5 MB, free: 1.211 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.006286, allocations: 25.7 kB / 252.5 MB, free: 1.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.006326, allocations: 88.08 kB / 252.6 MB, free: 1.09 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.006337, allocations: 11.89 kB / 252.6 MB, free: 1.078 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.006363, allocations: 17.7 kB / 252.7 MB, free: 1.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.991e-05/0.006443, allocations: 314.8 kB / 253 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-06/0.006451, allocations: 0 / 253 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.006468, allocations: 17.97 kB / 253 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.716e-05/0.006495, allocations: 21.64 kB / 253 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.006497, allocations: 4 kB / 253 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.049e-05/0.006558, allocations: 33.7 kB / 253 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.006572, allocations: 7.938 kB / 253.1 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.006586, allocations: 3.984 kB / 253.1 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.006595, allocations: 3.938 kB / 253.1 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.477e-05/0.00663, allocations: 7.938 kB / 253.1 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.006633, allocations: 4.094 kB / 253.1 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.006649, allocations: 0 / 253.1 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.006656, allocations: 4 kB / 253.1 MB, free: 0.6133 MB / 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 5.251e-05/0.006708, allocations: 105.8 kB / 253.2 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.006744, allocations: 4 kB / 253.2 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.006818, allocations: 44.94 kB / 253.2 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.006821, allocations: 0 / 253.2 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.006823, allocations: 0 / 253.2 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.006826, allocations: 4 kB / 253.2 MB, free: 452 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.007032, allocations: 182.8 kB / 253.4 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.007036, allocations: 0 / 253.4 MB, free: 244 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.492e-05/0.00705, allocations: 4 kB / 253.4 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-06/0.007059, allocations: 11.83 kB / 253.4 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.007062, allocations: 0 / 253.4 MB, free: 228 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.007068, allocations: 4.25 kB / 253.4 MB, free: 224 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.00707, allocations: 4 kB / 253.4 MB, free: 220 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.007074, allocations: 3.984 kB / 253.4 MB, free: 216 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.007328, allocations: 206.8 kB / 253.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.007341, allocations: 11.92 kB / 253.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.007414, allocations: 0 / 253.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.007428, allocations: 8.094 kB / 253.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.007436, allocations: 0 / 253.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.387e-05/0.007449, allocations: 12.84 kB / 253.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00745, allocations: 0 / 253.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002551/0.007705, allocations: 19.94 kB / 253.7 MB, free: 15.94 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.0001484/0.007853, allocations: 104.3 kB / 253.8 MB, free: 15.83 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.03e-05/0.007943, allocations: 50.48 kB / 253.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.007949, allocations: 0 / 253.8 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.639e-05/0.007975, allocations: 38.75 kB / 253.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.008193, allocations: 4 kB / 253.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.00968, allocations: 152.3 kB / 254 MB, free: 15.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.009724, allocations: 59.3 kB / 254.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.067e-06/0.009734, allocations: 0 / 254.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/0.009772, allocations: 51.38 kB / 254.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of SimCode: time 4.61e-07/0.009772, allocations: 0 / 254.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of Templates: time 0.002165/0.01194, allocations: 0.5934 MB / 254.7 MB, free: 14.82 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: 2.502571487799287]