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.001387/0.001387, allocations: 114.7 kB / 17.17 MB, free: 5.98 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.001458/0.001458, allocations: 212 kB / 20.13 MB, free: 3.035 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.317/1.317, allocations: 207.6 MB / 230.5 MB, free: 4.004 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.1852/0.1852, allocations: 25.01 MB / 307.4 MB, free: 7.25 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.002028/0.002028, allocations: 67.91 kB / 431.9 MB, free: 10 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2107, allocations: 55.01 MB / 486.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.002677/0.2133, allocations: 1.583 MB / 488.5 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.2144, allocations: 0.6649 MB / 489.1 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.2144, allocations: 4 kB / 489.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.2145, allocations: 7.938 kB / 489.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.324e-05/0.2145, allocations: 7.922 kB / 489.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.2148, allocations: 75.67 kB / 489.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.2149, allocations: 23.92 kB / 489.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.2149, allocations: 7.938 kB / 489.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.262e-05/0.215, allocations: 7.938 kB / 489.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.568e-05/0.215, allocations: 11.97 kB / 489.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.215, allocations: 0 / 489.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.2152, allocations: 71.92 kB / 489.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.889e-06/0.2152, allocations: 3.938 kB / 489.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.2153, allocations: 15.88 kB / 489.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.2154, allocations: 70.19 kB / 489.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2154, allocations: 0 / 489.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2154, allocations: 3.938 kB / 489.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.2154, allocations: 0 / 489.4 MB, free: 11.74 MB / 350.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.0003643/0.2158, allocations: 347.3 kB / 489.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2158, allocations: 8.031 kB / 489.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.578e-05/0.2158, allocations: 12.14 kB / 489.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.619e-05/0.2159, allocations: 34.75 kB / 489.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.2159, allocations: 12.88 kB / 489.8 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.2161, allocations: 160.4 kB / 490 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.2161, allocations: 8.375 kB / 490 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.2161, allocations: 8.375 kB / 490 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.2162, allocations: 71.27 kB / 490.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2162, allocations: 7.953 kB / 490.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.2162, allocations: 8 kB / 490.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.2162, allocations: 0 / 490.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.888e-05/0.2163, allocations: 19.98 kB / 490.1 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.2167, allocations: 402.6 kB / 490.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.675e-05/0.2168, allocations: 57.09 kB / 490.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.2169, allocations: 29.89 kB / 490.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004785/0.2174, allocations: 206.2 kB / 490.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.2174, allocations: 42.5 kB / 490.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2174, allocations: 0 / 490.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001697/0.2191, allocations: 189.2 kB / 491 MB, free: 9.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.2191, allocations: 81.11 kB / 491.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.2192, allocations: 109.8 kB / 491.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2192, allocations: 29.83 kB / 491.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.244e-05/0.2193, allocations: 96.09 kB / 491.3 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.2193, allocations: 35.69 kB / 491.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.2194, allocations: 25.7 kB / 491.4 MB, free: 9.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2195, allocations: 318.8 kB / 491.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.527e-05/0.2196, allocations: 8 kB / 491.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-05/0.2196, allocations: 43.42 kB / 491.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.2197, allocations: 75.33 kB / 491.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2197, allocations: 0 / 491.8 MB, free: 9.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001723/0.2199, allocations: 89.62 kB / 491.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2199, allocations: 11.94 kB / 491.9 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-05/0.22, allocations: 27.97 kB / 492 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.22, allocations: 0 / 492 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2201, allocations: 20.05 kB / 492 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2201, allocations: 0 / 492 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.2202, allocations: 15.89 kB / 492 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.2202, allocations: 4.672 kB / 492 MB, free: 8.855 MB / 350.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 9.21e-05/0.2203, allocations: 117.8 kB / 492.1 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.2204, allocations: 4 kB / 492.1 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.2207, allocations: 141.9 kB / 492.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2207, allocations: 4 kB / 492.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2207, allocations: 0 / 492.3 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2207, allocations: 3.938 kB / 492.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005785/0.2212, allocations: 497.7 kB / 492.8 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001391/0.2214, allocations: 97.67 kB / 492.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.2215, allocations: 31.88 kB / 492.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2215, allocations: 0 / 492.9 MB, free: 7.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.2215, allocations: 3.984 kB / 492.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.2215, allocations: 4 kB / 492.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2215, allocations: 0 / 492.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002613/0.2218, allocations: 286.7 kB / 493.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.2218, allocations: 85.05 kB / 493.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.2218, allocations: 0 / 493.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.222, allocations: 4 kB / 493.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.222, allocations: 11.98 kB / 493.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.222, allocations: 0 / 493.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.74e-05/0.222, allocations: 95.2 kB / 493.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.222, allocations: 0 / 493.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.2223, allocations: 31.88 kB / 493.4 MB, free: 7.355 MB / 350.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.0006955/0.223, allocations: 0.8795 MB / 494.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001984/0.2232, allocations: 93.59 kB / 494.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2232, allocations: 192 / 494.4 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.188e-05/0.2233, allocations: 69.62 kB / 494.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.2236, allocations: 11.59 kB / 494.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.2251, allocations: 1.518 MB / 496 MB, free: 4.648 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.2254, allocations: 0.6924 MB / 496.7 MB, free: 3.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.86e-05/0.2255, allocations: 16.16 kB / 496.7 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.2255, allocations: 31.42 kB / 496.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2255, allocations: 0 / 496.7 MB, free: 3.883 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.2436, allocations: 2.375 MB / 499.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.538/7.781, allocations: 7.344 kB / 499.1 MB, free: 1.52 MB / 350.1 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 & /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: 10.09532584703993] Failed to read output from testmodel.py, exit status != 0: 7.91244786902098 7.924826234 7.706872163 Calling exit ...