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.001478/0.001478, allocations: 80.36 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001667/0.001667, allocations: 165.9 kB / 22.46 MB, free: 5.355 MB / 14.72 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.235/1.235, allocations: 158.6 MB / 184.2 MB, free: 6.414 MB / 174.1 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.1973/0.1973, allocations: 19.1 MB / 255.6 MB, free: 32 kB / 238.1 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=1666,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") translateModel(SolarTherm.Models.Sources.SolarModel.Sun,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1666,variableFilter="",fileNamePrefix="SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 382.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.392e-05, allocations: 9.375 kB / 382.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002565/0.002589, allocations: 1.578 MB / 383.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.003685, allocations: 0.6123 MB / 384.4 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.131e-05/0.003716, allocations: 0 / 384.4 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.003749, allocations: 0 / 384.4 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.003e-05/0.003789, allocations: 11.88 kB / 384.4 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003574/0.004147, allocations: 75.59 kB / 384.5 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.027e-05/0.004217, allocations: 31.8 kB / 384.5 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.004257, allocations: 0 / 384.5 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.004293, allocations: 11.98 kB / 384.5 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.105e-05/0.004324, allocations: 8 kB / 384.5 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.004336, allocations: 3.984 kB / 384.5 MB, free: 9.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.004553, allocations: 59.81 kB / 384.6 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.053e-05/0.004563, allocations: 0 / 384.6 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.004586, allocations: 11.98 kB / 384.6 MB, free: 9.254 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.004758, allocations: 79.72 kB / 384.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.00476, allocations: 0 / 384.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004761, allocations: 0 / 384.7 MB, free: 9.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.004769, allocations: 0 / 384.7 MB, free: 9.176 MB / 318.1 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.0003341/0.005103, allocations: 270.2 kB / 384.9 MB, free: 8.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.00514, allocations: 11.98 kB / 385 MB, free: 8.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.00517, allocations: 8.891 kB / 385 MB, free: 8.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.005286, allocations: 109.7 kB / 385.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-06/0.005293, allocations: 384 / 385.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.005306, allocations: 4.375 kB / 385.1 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.005419, allocations: 55.91 kB / 385.1 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.005428, allocations: 4.188 kB / 385.1 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.005435, allocations: 384 / 385.1 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.005442, allocations: 3.938 kB / 385.1 MB, free: 8.652 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.991e-05/0.005472, allocations: 8 kB / 385.1 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.005809, allocations: 284.7 kB / 385.4 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.216e-05/0.005881, allocations: 37.22 kB / 385.5 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.005914, allocations: 21.77 kB / 385.5 MB, free: 8.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004189/0.006332, allocations: 63.83 kB / 385.5 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.006364, allocations: 34.56 kB / 385.6 MB, free: 8.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.006365, allocations: 0 / 385.6 MB, free: 8.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001891/0.006554, allocations: 49.62 kB / 385.6 MB, free: 8.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.006613, allocations: 85.05 kB / 385.7 MB, free: 7.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.006719, allocations: 97.86 kB / 385.8 MB, free: 7.883 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.006737, allocations: 25.7 kB / 385.8 MB, free: 7.852 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.006808, allocations: 100.1 kB / 385.9 MB, free: 7.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.338e-06/0.006818, allocations: 3.953 kB / 385.9 MB, free: 7.746 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/0.006849, allocations: 13.97 kB / 385.9 MB, free: 7.727 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.006987, allocations: 318.8 kB / 386.3 MB, free: 7.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.007002, allocations: 4 kB / 386.3 MB, free: 7.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.155e-05/0.007024, allocations: 17.7 kB / 386.3 MB, free: 7.379 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.007066, allocations: 25.66 kB / 386.3 MB, free: 7.348 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.007068, allocations: 3.938 kB / 386.3 MB, free: 7.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.785e-05/0.007145, allocations: 45.64 kB / 386.4 MB, free: 7.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.007157, allocations: 4 kB / 386.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.007167, allocations: 96 / 386.4 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.007184, allocations: 11.98 kB / 386.4 MB, free: 7.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.098e-05/0.007215, allocations: 3.984 kB / 386.4 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.00722, allocations: 0 / 386.4 MB, free: 7.273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.007243, allocations: 11.88 kB / 386.4 MB, free: 7.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.007248, allocations: 4 kB / 386.4 MB, free: 7.258 MB / 318.1 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 8.226e-05/0.00733, allocations: 105.8 kB / 386.5 MB, free: 7.145 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.007374, allocations: 7.938 kB / 386.5 MB, free: 7.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.478e-05/0.007469, allocations: 45 kB / 386.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.007471, allocations: 0 / 386.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.007476, allocations: 8.031 kB / 386.5 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.007479, allocations: 256 / 386.5 MB, free: 7.078 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.007724, allocations: 222.2 kB / 386.8 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.00773, allocations: 4 kB / 386.8 MB, free: 6.82 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.00774, allocations: 4 kB / 386.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.007742, allocations: 0 / 386.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.007748, allocations: 0 / 386.8 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.00775, allocations: 4 kB / 386.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007751, allocations: 0 / 386.8 MB, free: 6.812 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.007903, allocations: 222.7 kB / 387 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.884e-06/0.007911, allocations: 4.062 kB / 387 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.007923, allocations: 7.984 kB / 387 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.007996, allocations: 0 / 387 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.00801, allocations: 0 / 387 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.008015, allocations: 4 kB / 387 MB, free: 6.562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.717e-05/0.008072, allocations: 83.28 kB / 387.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.008073, allocations: 0 / 387.1 MB, free: 6.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000278/0.008351, allocations: 19.88 kB / 387.1 MB, free: 6.461 MB / 318.1 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.0001809/0.008531, allocations: 123.1 kB / 387.2 MB, free: 6.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.008639, allocations: 53.56 kB / 387.3 MB, free: 6.273 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.008643, allocations: 4 kB / 387.3 MB, free: 6.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.747e-05/0.00868, allocations: 33.64 kB / 387.3 MB, free: 6.23 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.008954, allocations: 3.938 kB / 387.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002957/0.00925, allocations: 129.6 kB / 387.5 MB, free: 6.07 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.621e-05/0.009326, allocations: 67.28 kB / 387.5 MB, free: 5.984 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 8.195e-06/0.009334, allocations: 0 / 387.5 MB, free: 5.984 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.406e-05/0.009348, allocations: 8.75 kB / 387.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.009349, allocations: 4 kB / 387.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of Templates: time 0.002924/0.01227, allocations: 0.5181 MB / 388 MB, free: 5.457 MB / 318.1 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.061322588473558] Failed to read output from testmodel.py, exit status != 0: 0.020420018583536148 0.034768153 0.027044566000000003 Calling exit ...