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.00144/0.00144, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001524/0.001524, allocations: 211.3 kB / 23.04 MB, free: 5.074 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.313/1.313, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.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.1931/0.1931, allocations: 25 MB / 311.1 MB, free: 12.79 MB / 254.1 MB " [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: "" <> buildModelFMU(SolarTherm.Models.Sources.SolarModel.Sun,fileNamePrefix="SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(SolarTherm.Models.Sources.SolarModel.Sun,fileNamePrefix="SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 74.56 kB / 437.2 MB, free: 24.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07758/0.07958, allocations: 55.05 MB / 492.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002635/0.08222, allocations: 1.589 MB / 493.8 MB, free: 300 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.08327, allocations: 0.6756 MB / 494.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.0833, allocations: 0 / 494.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.2e-05/0.08333, allocations: 4 kB / 494.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.133e-05/0.08336, allocations: 7.875 kB / 494.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003312/0.08369, allocations: 83.66 kB / 494.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.08375, allocations: 23.86 kB / 494.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.607e-05/0.08378, allocations: 0 / 494.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.08381, allocations: 15.92 kB / 494.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.467e-05/0.08383, allocations: 4 kB / 494.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.08384, allocations: 4 kB / 494.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000214/0.08406, allocations: 67.92 kB / 494.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.828e-06/0.08406, allocations: 7.938 kB / 494.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.08409, allocations: 19.91 kB / 494.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.08424, allocations: 63.75 kB / 494.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.08424, allocations: 0 / 494.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.08424, allocations: 0 / 494.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.08424, allocations: 0 / 494.8 MB, free: 15.31 MB / 366.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.0003078/0.08455, allocations: 270.2 kB / 495 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.08459, allocations: 11.98 kB / 495.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.517e-05/0.08462, allocations: 12.12 kB / 495.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.012e-05/0.08467, allocations: 38.75 kB / 495.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.0847, allocations: 8.891 kB / 495.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.0848, allocations: 106.5 kB / 495.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.905e-06/0.0848, allocations: 4.375 kB / 495.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.08483, allocations: 12.36 kB / 495.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.08496, allocations: 67.28 kB / 495.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.08497, allocations: 4 kB / 495.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.08498, allocations: 8 kB / 495.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.08498, allocations: 0 / 495.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.028e-05/0.08503, allocations: 19.98 kB / 495.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.08545, allocations: 344 kB / 495.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.651e-05/0.08554, allocations: 69.14 kB / 495.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.067e-05/0.08558, allocations: 29.78 kB / 495.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003871/0.08597, allocations: 63.94 kB / 495.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.08599, allocations: 30.56 kB / 495.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.086, allocations: 0 / 495.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001677/0.08767, allocations: 201.2 kB / 496.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.08772, allocations: 77.11 kB / 496.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.226e-05/0.0878, allocations: 110.3 kB / 496.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.08782, allocations: 29.7 kB / 496.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.08787, allocations: 96.08 kB / 496.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.0879, allocations: 27.7 kB / 496.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.796e-05/0.08795, allocations: 25.7 kB / 496.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.08808, allocations: 326.8 kB / 496.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.991e-05/0.08812, allocations: 15.98 kB / 496.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.524e-05/0.08818, allocations: 39.42 kB / 496.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.08829, allocations: 67.59 kB / 496.9 MB, free: 13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.08829, allocations: 0 / 496.9 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001769/0.08846, allocations: 97.53 kB / 496.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.08848, allocations: 4 kB / 497 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.063e-05/0.08856, allocations: 27.97 kB / 497 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.08857, allocations: 4.062 kB / 497 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.08869, allocations: 15.98 kB / 497 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.0887, allocations: 3.938 kB / 497 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.08877, allocations: 11.94 kB / 497 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.08878, allocations: 7.984 kB / 497 MB, free: 12.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.394e-05/0.08887, allocations: 111.6 kB / 497.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.08891, allocations: 7.953 kB / 497.1 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.08921, allocations: 141.9 kB / 497.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.08921, allocations: 0 / 497.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.08921, allocations: 0 / 497.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.08922, allocations: 7.938 kB / 497.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005419/0.08976, allocations: 464.8 kB / 497.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001461/0.08991, allocations: 105.7 kB / 497.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001076/0.09001, allocations: 23.88 kB / 497.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.09002, allocations: 0 / 497.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.09003, allocations: 7.984 kB / 497.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.09003, allocations: 0 / 497.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.09004, allocations: 0 / 497.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.09028, allocations: 282.8 kB / 498.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.09029, allocations: 11.89 kB / 498.2 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.09031, allocations: 4 kB / 498.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.09043, allocations: 4 kB / 498.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.09046, allocations: 11.92 kB / 498.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.948e-06/0.09047, allocations: 4 kB / 498.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.038e-05/0.09052, allocations: 87.27 kB / 498.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.09052, allocations: 0 / 498.3 MB, free: 11.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.0908, allocations: 31.94 kB / 498.3 MB, free: 11.46 MB / 366.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 (14): * Single equations (assignments): 13 * 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.0006789/0.09148, allocations: 0.8833 MB / 499.2 MB, free: 10.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.09167, allocations: 85.7 kB / 499.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.09167, allocations: 8.125 kB / 499.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.58e-05/0.09176, allocations: 73.25 kB / 499.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.09204, allocations: 10.81 kB / 499.4 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.0935, allocations: 1.506 MB / 0.4891 GB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.0938, allocations: 0.696 MB / 0.4898 GB, free: 8.039 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.007e-05/0.09387, allocations: 16.16 kB / 0.4898 GB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.09393, allocations: 31.42 kB / 0.4898 GB, free: 7.992 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.09393, allocations: 0 / 0.4898 GB, free: 7.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.1161, allocations: 2.532 MB / 0.4923 GB, free: 5.477 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/10.4, allocations: 11.94 kB / 0.4923 GB, free: 5.465 MB / 366.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun_fmu --startTime=0 --stopTime=100000 --stepSize=60.024 --timeout=50 --tolerance=1e-06 SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun.fmu > SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.89794528495986] Failed to read output from testmodel.py, exit status != 0: 10.560387026052922 10.575300452 10.488204003 Calling exit ...