Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.00178/0.00178, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.002138/0.002138, allocations: 201.6 kB / 20.8 MB, free: 2.371 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.41/1.41, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9203/0.9203, allocations: 150 MB / 460.2 MB, free: 5.305 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 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.001889/0.001889, allocations: 78.17 kB / 0.6368 GB, free: 30.42 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1625, allocations: 89.13 MB / 0.7238 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003425/0.166, allocations: 2.076 MB / 0.7259 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005496/0.1714, allocations: 4.192 MB / 0.73 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.1716, allocations: 7.938 kB / 0.73 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008714/0.1725, allocations: 204.6 kB / 0.7302 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.1726, allocations: 59.42 kB / 0.7302 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007246/0.1733, allocations: 295.3 kB / 0.7305 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006428/0.174, allocations: 386.8 kB / 0.7309 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.1741, allocations: 48.33 kB / 0.7309 GB, free: 12.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.1743, allocations: 123.5 kB / 0.731 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.1745, allocations: 127.4 kB / 0.7312 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.1745, allocations: 16 kB / 0.7312 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004984/0.175, allocations: 323.5 kB / 0.7315 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1751, allocations: 103.6 kB / 0.7316 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.1753, allocations: 151 kB / 0.7317 GB, free: 11.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006696/0.1759, allocations: 0.5292 MB / 0.7322 GB, free: 11.42 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1759, allocations: 4 kB / 0.7322 GB, free: 11.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1759, allocations: 0 / 0.7322 GB, free: 11.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.176, allocations: 0 / 0.7322 GB, free: 11.41 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001427/0.1774, allocations: 0.7716 MB / 0.733 GB, free: 10.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1774, allocations: 8.031 kB / 0.733 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.219e-05/0.1774, allocations: 8.141 kB / 0.733 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.1775, allocations: 42.75 kB / 0.7331 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.1785, allocations: 160.5 kB / 0.7332 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007142/0.1793, allocations: 366.2 kB / 0.7336 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.1793, allocations: 7.938 kB / 0.7336 GB, free: 9.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.1793, allocations: 12 kB / 0.7336 GB, free: 9.945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.1799, allocations: 207.4 kB / 0.7338 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.1799, allocations: 0 / 0.7338 GB, free: 9.738 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.1799, allocations: 4 kB / 0.7338 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1799, allocations: 4 kB / 0.7338 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007764/0.1807, allocations: 259.7 kB / 0.734 GB, free: 9.477 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.1818, allocations: 0.6134 MB / 0.7346 GB, free: 8.812 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004661/0.1823, allocations: 174.5 kB / 0.7348 GB, free: 8.633 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003949/0.1827, allocations: 140.8 kB / 0.7349 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/0.1827, allocations: 12 kB / 0.7349 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1828, allocations: 38.77 kB / 0.735 GB, free: 8.434 MB / 0.545 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1828, allocations: 3.938 kB / 0.735 GB, free: 8.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=11): time 0.001407/0.1842, allocations: 477.2 kB / 0.7354 GB, free: 7.957 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.1842, allocations: 51.41 kB / 0.7355 GB, free: 7.895 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/0.1847, allocations: 421.8 kB / 0.7359 GB, free: 7.477 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1847, allocations: 29.7 kB / 0.7359 GB, free: 7.441 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.1848, allocations: 176 kB / 0.7361 GB, free: 7.266 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.1849, allocations: 43.62 kB / 0.7361 GB, free: 7.223 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.33e-05/0.185, allocations: 41.69 kB / 0.7362 GB, free: 7.176 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1852, allocations: 350.8 kB / 0.7365 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004409/0.1856, allocations: 179.9 kB / 0.7367 GB, free: 6.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.186, allocations: 176.8 kB / 0.7368 GB, free: 6.477 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008756/0.1869, allocations: 381.2 kB / 0.7372 GB, free: 6.098 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1869, allocations: 0 / 0.7372 GB, free: 6.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001065/0.188, allocations: 486.8 kB / 0.7377 GB, free: 5.609 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.188, allocations: 41.69 kB / 0.7377 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.188, allocations: 7.922 kB / 0.7377 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.188, allocations: 0 / 0.7377 GB, free: 5.555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/0.1884, allocations: 55.94 kB / 0.7378 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1884, allocations: 0 / 0.7378 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.1887, allocations: 35.86 kB / 0.7378 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.1887, allocations: 7.984 kB / 0.7378 GB, free: 5.457 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0001656/0.1889, allocations: 157.8 kB / 0.738 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.1889, allocations: 35.77 kB / 0.738 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.19, allocations: 376.6 kB / 0.7384 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.19, allocations: 4 kB / 0.7384 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.19, allocations: 3.984 kB / 0.7384 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.19, allocations: 0 / 0.7384 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000419/0.1904, allocations: 349.4 kB / 0.7387 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1904, allocations: 0 / 0.7387 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.1908, allocations: 51.88 kB / 0.7387 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1908, allocations: 3.938 kB / 0.7388 GB, free: 4.422 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.1908, allocations: 15.94 kB / 0.7388 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1908, allocations: 0 / 0.7388 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1908, allocations: 3.984 kB / 0.7388 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009517/0.1917, allocations: 437.7 kB / 0.7392 GB, free: 3.961 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.1919, allocations: 128.8 kB / 0.7393 GB, free: 3.816 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.1919, allocations: 7.938 kB / 0.7393 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.1922, allocations: 27.95 kB / 0.7393 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.001e-05/0.1923, allocations: 11.98 kB / 0.7394 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1923, allocations: 7.984 kB / 0.7394 GB, free: 3.762 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003091/0.1926, allocations: 303.1 kB / 0.7397 GB, free: 3.469 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1926, allocations: 0 / 0.7397 GB, free: 3.469 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004445/0.1931, allocations: 119.8 kB / 0.7398 GB, free: 3.352 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001488/0.1946, allocations: 1.04 MB / 0.7408 GB, free: 2.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.1956, allocations: 475 kB / 0.7412 GB, free: 1.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1956, allocations: 4 kB / 0.7412 GB, free: 1.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000414/0.196, allocations: 139.8 kB / 0.7414 GB, free: 1.668 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.1965, allocations: 64.89 kB / 0.7414 GB, free: 1.609 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006112/0.2026, allocations: 4.29 MB / 0.7456 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.203, allocations: 0.7905 MB / 0.7464 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.2033, allocations: 61.91 kB / 0.7465 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.2035, allocations: 107.4 kB / 0.7466 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of SimCode: time 6.21e-07/0.2035, allocations: 0 / 0.7466 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02691/0.2304, allocations: 8.64 MB / 0.755 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.526/8.757, allocations: 16 kB / 0.755 GB, free: 3.812 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.469695047999267] Failed to read output from testmodel.py, exit status != 0: 8.884886857995298 8.911277968 8.731053309 Calling exit ...