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.001722/0.001722, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.003084/0.003084, allocations: 220.6 kB / 22.26 MB, free: 5.125 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.665/1.665, allocations: 207.6 MB / 233 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 178] 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.2054/0.2054, allocations: 25.01 MB / 310.3 MB, free: 12.76 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="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: 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.002642/0.002642, allocations: 74.33 kB / 436.4 MB, free: 24.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1474, allocations: 55.06 MB / 491.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFInst.instantiate(SolarTherm.Models.Sources.SolarModel.Sun): time 0.003689/0.1511, allocations: 1.579 MB / 493 MB, free: 300 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1529, allocations: 0.6718 MB / 493.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.554e-05/0.1529, allocations: 3.938 kB / 493.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.64e-05/0.153, allocations: 3.938 kB / 493.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.85e-05/0.153, allocations: 7.922 kB / 493.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007253/0.1538, allocations: 83.72 kB / 493.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.1539, allocations: 19.88 kB / 493.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.78e-05/0.154, allocations: 7.984 kB / 493.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.298e-05/0.154, allocations: 7.938 kB / 493.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.988e-05/0.154, allocations: 4 kB / 493.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.154, allocations: 0 / 493.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.1544, allocations: 75.84 kB / 493.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.1544, allocations: 7.938 kB / 493.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1545, allocations: 11.94 kB / 493.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.1547, allocations: 67.8 kB / 494 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1547, allocations: 0 / 494 MB, free: 15.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1547, allocations: 3.938 kB / 494 MB, free: 15.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.1547, allocations: 0 / 494 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.0005074/0.1553, allocations: 266.2 kB / 494.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.1553, allocations: 15.98 kB / 494.3 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.211e-05/0.1554, allocations: 38.69 kB / 494.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.921e-05/0.1554, allocations: 8.891 kB / 494.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.1557, allocations: 114.4 kB / 494.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.1557, allocations: 8.375 kB / 494.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.1557, allocations: 384 / 494.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.1559, allocations: 67.52 kB / 494.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1559, allocations: 0 / 494.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.1559, allocations: 4 kB / 494.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.1559, allocations: 0 / 494.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.008e-05/0.156, allocations: 15.94 kB / 494.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.1566, allocations: 328.1 kB / 494.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.194e-05/0.1567, allocations: 45.09 kB / 494.9 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.1568, allocations: 13.84 kB / 494.9 MB, free: 14.26 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004891/0.1573, allocations: 59.94 kB / 495 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.1573, allocations: 42.5 kB / 495 MB, free: 14.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.1573, allocations: 0 / 495 MB, free: 14.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002551/0.1576, allocations: 41.69 kB / 495 MB, free: 14.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.1576, allocations: 88.98 kB / 495.1 MB, free: 14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1578, allocations: 102.1 kB / 495.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.1578, allocations: 33.7 kB / 495.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.1579, allocations: 92.03 kB / 495.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.1579, allocations: 7.906 kB / 495.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.1579, allocations: 21.7 kB / 495.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.1581, allocations: 314.8 kB / 495.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.1581, allocations: 4 kB / 495.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.1582, allocations: 13.72 kB / 495.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.531e-05/0.1582, allocations: 21.75 kB / 495.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1582, allocations: 0 / 495.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.311e-05/0.1583, allocations: 49.62 kB / 495.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.1583, allocations: 8 kB / 495.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.1584, allocations: 0 / 495.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.1584, allocations: 0 / 495.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.1585, allocations: 4 kB / 495.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.1585, allocations: 4.062 kB / 495.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.1585, allocations: 3.938 kB / 495.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.1585, allocations: 0 / 495.8 MB, free: 13.28 MB / 366.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 0.0001535/0.1586, allocations: 121.8 kB / 495.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.1587, allocations: 3.953 kB / 495.9 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001161/0.1588, allocations: 48.95 kB / 496 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.1588, allocations: 3.984 kB / 496 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1588, allocations: 0 / 496 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1588, allocations: 3.938 kB / 496 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.1592, allocations: 245.7 kB / 496.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.1592, allocations: 7.984 kB / 496.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.287e-06/0.1592, allocations: 0 / 496.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1592, allocations: 0 / 496.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1592, allocations: 0 / 496.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1592, allocations: 8.188 kB / 496.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1592, allocations: 0 / 496.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001906/0.1594, allocations: 218.9 kB / 496.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.1594, allocations: 7.875 kB / 496.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.1594, allocations: 7.938 kB / 496.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1595, allocations: 3.938 kB / 496.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.1595, allocations: 0 / 496.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.1595, allocations: 0 / 496.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.828e-05/0.1596, allocations: 87.27 kB / 496.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1596, allocations: 0 / 496.5 MB, free: 12.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1598, allocations: 27.92 kB / 496.6 MB, free: 12.41 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 (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.0007075/0.1606, allocations: 0.7742 MB / 497.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.1607, allocations: 45.58 kB / 497.4 MB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1607, allocations: 4.219 kB / 497.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.059e-05/0.1607, allocations: 29.7 kB / 497.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.161, allocations: 8 kB / 497.4 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1624, allocations: 1.311 MB / 498.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.1628, allocations: 0.6846 MB / 499.4 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.13e-05/0.1628, allocations: 0 / 499.4 MB, free: 9.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.1629, allocations: 11.44 kB / 499.4 MB, free: 9.391 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1629, allocations: 4 kB / 499.4 MB, free: 9.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03097/0.1939, allocations: 1.625 MB / 0.4893 GB, free: 7.789 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/12.26, allocations: 0 / 0.4893 GB, free: 7.789 MB / 366.1 MB " [Timeout remaining time 648] (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: 15.530229160096496] Failed to read output from testmodel.py, exit status != 0: 12.364179871045053 12.39113268 12.230800805 Calling exit ...