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.001442/0.001442, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001581/0.001581, allocations: 214.7 kB / 23.03 MB, free: 4.922 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.346/1.346, allocations: 207.7 MB / 233.9 MB, free: 9.789 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.1908/0.1908, allocations: 25 MB / 311.1 MB, free: 12.6 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.002027/0.002027, allocations: 71.75 kB / 437.2 MB, free: 24.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07601/0.07804, allocations: 55.05 MB / 492.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002474/0.08051, allocations: 1.571 MB / 493.8 MB, free: 112 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009908/0.0815, allocations: 0.6017 MB / 494.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.08152, allocations: 3.938 kB / 494.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.08156, allocations: 0 / 494.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.323e-05/0.08159, allocations: 7.938 kB / 494.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003226/0.08191, allocations: 75.66 kB / 494.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.366e-05/0.08196, allocations: 27.86 kB / 494.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.608e-05/0.082, allocations: 4 kB / 494.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.221e-05/0.08202, allocations: 11.94 kB / 494.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.306e-05/0.08205, allocations: 11.92 kB / 494.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.153e-06/0.08205, allocations: 4 kB / 494.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.08224, allocations: 55.94 kB / 494.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.486e-05/0.08226, allocations: 7.984 kB / 494.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.08228, allocations: 7.938 kB / 494.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.08242, allocations: 63.75 kB / 494.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.08243, allocations: 0 / 494.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.08243, allocations: 0 / 494.7 MB, free: 15.22 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.08243, allocations: 4 kB / 494.7 MB, free: 15.22 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.0002993/0.08273, allocations: 270.2 kB / 494.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.08277, allocations: 15.98 kB / 494.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.836e-05/0.08281, allocations: 8.141 kB / 495 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.08286, allocations: 46.72 kB / 495 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.329e-05/0.08288, allocations: 4.891 kB / 495 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.006e-05/0.08297, allocations: 110.5 kB / 495.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.08298, allocations: 384 / 495.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.083, allocations: 8.375 kB / 495.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.08313, allocations: 75.27 kB / 495.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.08313, allocations: 4 kB / 495.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.08314, allocations: 4 kB / 495.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.08315, allocations: 0 / 495.2 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.0832, allocations: 19.98 kB / 495.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.08361, allocations: 340 kB / 495.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.945e-05/0.0837, allocations: 65.08 kB / 495.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.08374, allocations: 29.89 kB / 495.6 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/0.08413, allocations: 59.95 kB / 495.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.08416, allocations: 30.56 kB / 495.7 MB, free: 14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.08416, allocations: 0 / 495.7 MB, free: 14 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001771/0.08593, allocations: 209.3 kB / 495.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.08598, allocations: 77.11 kB / 496 MB, free: 13.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.973e-05/0.08606, allocations: 114.2 kB / 496.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.08608, allocations: 29.7 kB / 496.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.08612, allocations: 88.09 kB / 496.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.08615, allocations: 35.62 kB / 496.3 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.08621, allocations: 29.7 kB / 496.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.08633, allocations: 310.8 kB / 496.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-05/0.08637, allocations: 15.98 kB / 496.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.603e-05/0.08642, allocations: 39.42 kB / 496.7 MB, free: 13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.08654, allocations: 71.64 kB / 496.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.08654, allocations: 0 / 496.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001694/0.08671, allocations: 97.53 kB / 496.8 MB, free: 12.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.08672, allocations: 7.984 kB / 496.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-05/0.0868, allocations: 32.05 kB / 496.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.08681, allocations: 0 / 496.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.08694, allocations: 15.98 kB / 496.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.08695, allocations: 4 kB / 496.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.516e-05/0.08702, allocations: 7.875 kB / 496.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.08703, allocations: 8.062 kB / 496.9 MB, free: 12.74 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.787e-05/0.08712, allocations: 117.8 kB / 497 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.08717, allocations: 3.953 kB / 497 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003001/0.08747, allocations: 145.9 kB / 497.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.08747, allocations: 0 / 497.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.08747, allocations: 4 kB / 497.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.08748, allocations: 3.938 kB / 497.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.08801, allocations: 448.7 kB / 497.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001419/0.08815, allocations: 105.2 kB / 497.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.08827, allocations: 27.86 kB / 497.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.08827, allocations: 0 / 497.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.08829, allocations: 8 kB / 497.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.08829, allocations: 0 / 497.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.08829, allocations: 4.031 kB / 497.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.08853, allocations: 278.8 kB / 498 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.08854, allocations: 11.89 kB / 498 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.08856, allocations: 4 kB / 498 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.08867, allocations: 0 / 498 MB, free: 11.51 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.0887, allocations: 15.92 kB / 498.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.08871, allocations: 7.984 kB / 498.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.717e-05/0.08876, allocations: 79.28 kB / 498.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.08876, allocations: 0 / 498.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002931/0.08905, allocations: 31.94 kB / 498.2 MB, free: 11.38 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.0006887/0.08974, allocations: 0.8988 MB / 499.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.08992, allocations: 89.64 kB / 499.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.08992, allocations: 0 / 499.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.25e-05/0.09, allocations: 65.69 kB / 499.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.09029, allocations: 11.77 kB / 499.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.09172, allocations: 1.513 MB / 0.489 GB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.506e-05/0.0918, allocations: 87.02 kB / 0.4891 GB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.961e-05/0.09187, allocations: 16.17 kB / 0.4891 GB, free: 8.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.339e-05/0.09193, allocations: 23.42 kB / 0.4891 GB, free: 8.531 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.09193, allocations: 0 / 0.4891 GB, free: 8.531 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.1145, allocations: 2.514 MB / 0.4916 GB, free: 6.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/10.62, allocations: 10.95 kB / 0.4916 GB, free: 6.023 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: 13.14271182299126] Failed to read output from testmodel.py, exit status != 0: 10.776513270102441 10.791469096 10.706213078 Calling exit ...