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.0007935/0.0007935, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.000858/0.000858, allocations: 165.9 kB / 22.46 MB, free: 2.105 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 0.8458/0.8458, allocations: 158.6 MB / 184.2 MB, free: 3.035 MB / 170.7 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.1022/0.1022, allocations: 19.07 MB / 255.6 MB, free: 12.25 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: "" <> buildModelFMU(SolarTherm.Models.Sources.SolarModel.Sun,fileNamePrefix="SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(SolarTherm.Models.Sources.SolarModel.Sun,fileNamePrefix="SolarTherm_SolarTherm_Models_Sources_SolarModel_Sun",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 381.7 MB, free: 8.336 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.378e-05, allocations: 2.281 kB / 381.7 MB, free: 8.332 MB / 314.7 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.001752/0.001766, allocations: 1.577 MB / 383.3 MB, free: 6.742 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007411/0.002507, allocations: 0.6162 MB / 383.9 MB, free: 6.117 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.171e-05/0.002539, allocations: 0 / 383.9 MB, free: 6.117 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 3.553e-05/0.002574, allocations: 0 / 383.9 MB, free: 6.117 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 3.481e-05/0.002609, allocations: 7.938 kB / 383.9 MB, free: 6.109 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003184/0.002928, allocations: 73.84 kB / 384 MB, free: 6.039 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.002984, allocations: 39.78 kB / 384 MB, free: 6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.732e-05/0.003021, allocations: 0 / 384 MB, free: 6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.283e-05/0.003054, allocations: 15.94 kB / 384 MB, free: 5.984 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.825e-05/0.003082, allocations: 7.984 kB / 384 MB, free: 5.977 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.003092, allocations: 0 / 384 MB, free: 5.977 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001726/0.003264, allocations: 59.88 kB / 384.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.003277, allocations: 0 / 384.1 MB, free: 5.918 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.482e-05/0.003292, allocations: 4 kB / 384.1 MB, free: 5.914 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.003416, allocations: 75.72 kB / 384.2 MB, free: 5.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.00342, allocations: 3.984 kB / 384.2 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003421, allocations: 4 kB / 384.2 MB, free: 5.832 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.003425, allocations: 0 / 384.2 MB, free: 5.832 MB / 314.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.0003224/0.003747, allocations: 270.2 kB / 384.4 MB, free: 5.539 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.003792, allocations: 11.98 kB / 384.4 MB, free: 5.527 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.266e-05/0.003854, allocations: 38.7 kB / 384.5 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.382e-05/0.003878, allocations: 8.891 kB / 384.5 MB, free: 5.473 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.003e-05/0.003958, allocations: 109.7 kB / 384.6 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.003968, allocations: 4.359 kB / 384.6 MB, free: 5.336 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.003978, allocations: 8.375 kB / 384.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.004085, allocations: 63.95 kB / 384.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.004093, allocations: 4.188 kB / 384.7 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.004103, allocations: 4.125 kB / 384.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.004109, allocations: 0 / 384.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.853e-05/0.004137, allocations: 15.94 kB / 384.7 MB, free: 5.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.004489, allocations: 320.1 kB / 385 MB, free: 4.871 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.119e-05/0.00455, allocations: 45.08 kB / 385.1 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.004575, allocations: 17.84 kB / 385.1 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000305/0.00488, allocations: 59.95 kB / 385.1 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.0049, allocations: 30.56 kB / 385.2 MB, free: 4.688 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.004901, allocations: 3.938 kB / 385.2 MB, free: 4.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001661/0.005067, allocations: 49.62 kB / 385.2 MB, free: 4.629 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.005108, allocations: 81.11 kB / 385.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.17e-05/0.005169, allocations: 105.8 kB / 385.4 MB, free: 4.418 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.00518, allocations: 25.7 kB / 385.4 MB, free: 4.387 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.785e-05/0.005218, allocations: 92.09 kB / 385.5 MB, free: 4.293 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.826e-06/0.005227, allocations: 11.84 kB / 385.5 MB, free: 4.281 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.005253, allocations: 25.89 kB / 385.5 MB, free: 4.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.005332, allocations: 326.8 kB / 385.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/0.005341, allocations: 0 / 385.9 MB, free: 3.922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.881e-05/0.00536, allocations: 17.72 kB / 385.9 MB, free: 3.898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.72e-05/0.005387, allocations: 17.72 kB / 385.9 MB, free: 3.875 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.005389, allocations: 0 / 385.9 MB, free: 3.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.07e-05/0.005439, allocations: 49.62 kB / 385.9 MB, free: 3.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.005452, allocations: 4 kB / 385.9 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.005467, allocations: 4 kB / 386 MB, free: 3.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.005479, allocations: 4.094 kB / 386 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.277e-05/0.005522, allocations: 0 / 386 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.00553, allocations: 4 kB / 386 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.005542, allocations: 0 / 386 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.005549, allocations: 0 / 386 MB, free: 3.805 MB / 314.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.902e-05/0.005608, allocations: 123.7 kB / 386.1 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.995e-05/0.005628, allocations: 3.953 kB / 386.1 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.127e-05/0.005699, allocations: 44.95 kB / 386.1 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.005701, allocations: 4 kB / 386.1 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.005705, allocations: 0 / 386.1 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.00571, allocations: 12.05 kB / 386.1 MB, free: 3.605 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.00589, allocations: 237.7 kB / 386.4 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.005894, allocations: 4 kB / 386.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-06/0.0059, allocations: 0 / 386.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.82e-07/0.0059, allocations: 3.938 kB / 386.4 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.005906, allocations: 256 / 386.4 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.005907, allocations: 8 kB / 386.4 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.005908, allocations: 0 / 386.4 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.922e-05/0.005987, allocations: 218.8 kB / 386.6 MB, free: 3.078 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-06/0.005994, allocations: 7.953 kB / 386.6 MB, free: 3.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.006004, allocations: 8.047 kB / 386.6 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.153e-05/0.006045, allocations: 3.938 kB / 386.6 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.006057, allocations: 3.938 kB / 386.6 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.006059, allocations: 4 kB / 386.6 MB, free: 3.051 MB / 314.7 MB Notification: Performance of sorting global known variables: time 2.287e-05/0.006082, allocations: 79.28 kB / 386.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006082, allocations: 0 / 386.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000195/0.006277, allocations: 31.81 kB / 386.7 MB, free: 2.941 MB / 314.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.0003379/0.006615, allocations: 0.7741 MB / 387.5 MB, free: 2.141 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.18e-05/0.006697, allocations: 49.72 kB / 387.6 MB, free: 2.086 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.006698, allocations: 0 / 387.6 MB, free: 2.086 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.336e-05/0.006712, allocations: 33.7 kB / 387.6 MB, free: 2.047 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.006898, allocations: 7.938 kB / 387.6 MB, free: 2.039 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007249/0.007623, allocations: 1.313 MB / 388.9 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.557e-05/0.007668, allocations: 63.34 kB / 389 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.614e-06/0.007676, allocations: 288 / 389 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.0077, allocations: 12.5 kB / 389 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.007701, allocations: 0 / 389 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01476/0.02246, allocations: 2.122 MB / 391.1 MB, free: 14.44 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/7.682, allocations: 8.047 kB / 391.1 MB, free: 14.43 MB / 330.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file SolarTherm_SolarTherm.Models.Sources.SolarModel.Sun_res.csv --start-time 0 --stop-time 100000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 60.024 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: 9.533893311396241] Failed to read output from testmodel.py, exit status != 0: 7.767362901009619 7.777376207 7.772268576 Calling exit ...