Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001332/0.001332, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001412/0.001412, allocations: 212.5 kB / 22.99 MB, free: 4.977 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.391/1.391, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9369/0.9369, allocations: 149.9 MB / 463 MB, free: 10.31 MB / 366.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.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",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.002026/0.002026, allocations: 67 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1632, allocations: 89.18 MB / 0.7282 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003335/0.1665, allocations: 2.077 MB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005191/0.1717, allocations: 3.927 MB / 0.734 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.1719, allocations: 11.94 kB / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008055/0.1727, allocations: 179.4 kB / 0.7342 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.1729, allocations: 83.28 kB / 0.7343 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008609/0.1737, allocations: 327.2 kB / 0.7346 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.1744, allocations: 450.6 kB / 0.735 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1746, allocations: 40.89 kB / 0.7351 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002398/0.1748, allocations: 147.5 kB / 0.7352 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.1751, allocations: 147.3 kB / 0.7354 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.164e-05/0.1751, allocations: 24 kB / 0.7354 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006168/0.1757, allocations: 335.5 kB / 0.7357 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1759, allocations: 107.6 kB / 0.7358 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.176, allocations: 143.2 kB / 0.7359 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008242/0.1769, allocations: 0.5876 MB / 0.7365 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1769, allocations: 0 / 0.7365 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1769, allocations: 0 / 0.7365 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.1769, allocations: 0 / 0.7365 GB, free: 8.422 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001568/0.1785, allocations: 0.747 MB / 0.7372 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1785, allocations: 12.03 kB / 0.7372 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.679e-05/0.1786, allocations: 42.73 kB / 0.7373 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001969/0.1805, allocations: 308.2 kB / 0.7376 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.1816, allocations: 364.2 kB / 0.7379 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.1816, allocations: 8 kB / 0.7379 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.1816, allocations: 12 kB / 0.738 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007238/0.1823, allocations: 262.2 kB / 0.7382 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1823, allocations: 3.938 kB / 0.7382 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.1824, allocations: 4 kB / 0.7382 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1824, allocations: 11.92 kB / 0.7382 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.1835, allocations: 348.4 kB / 0.7386 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.185, allocations: 0.6243 MB / 0.7392 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.1856, allocations: 218.4 kB / 0.7394 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005447/0.1862, allocations: 184.7 kB / 0.7395 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.1862, allocations: 15.98 kB / 0.7396 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1862, allocations: 34.56 kB / 0.7396 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.1863, allocations: 0 / 0.7396 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.001846/0.1881, allocations: 0.6062 MB / 0.7402 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.1881, allocations: 55.41 kB / 0.7402 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/0.1887, allocations: 445.9 kB / 0.7407 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.1887, allocations: 25.7 kB / 0.7407 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.1889, allocations: 200.5 kB / 0.7409 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.1889, allocations: 47.59 kB / 0.7409 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.189, allocations: 49.69 kB / 0.741 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1892, allocations: 350.8 kB / 0.7413 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007336/0.19, allocations: 353.7 kB / 0.7416 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007103/0.1907, allocations: 338 kB / 0.742 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.192, allocations: 0.5345 MB / 0.7425 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.192, allocations: 4 kB / 0.7425 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001584/0.1935, allocations: 0.783 MB / 0.7433 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.1936, allocations: 51.66 kB / 0.7433 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1936, allocations: 0 / 0.7433 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1936, allocations: 3.938 kB / 0.7433 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.1941, allocations: 67.91 kB / 0.7434 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1941, allocations: 4 kB / 0.7434 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.1945, allocations: 55.73 kB / 0.7434 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.1945, allocations: 11.98 kB / 0.7434 GB, free: 1.082 MB / 0.5606 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 (18): * Single equations (assignments): 17 * 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.0002002/0.1947, allocations: 161.8 kB / 0.7436 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/0.1948, allocations: 39.72 kB / 0.7436 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.1962, allocations: 472.8 kB / 0.7441 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1962, allocations: 3.938 kB / 0.7441 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1962, allocations: 3.984 kB / 0.7441 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1962, allocations: 0 / 0.7441 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004114/0.1966, allocations: 312.4 kB / 0.7444 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1966, allocations: 4 kB / 0.7444 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004423/0.1971, allocations: 63.97 kB / 0.7445 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1971, allocations: 0 / 0.7445 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.894e-05/0.1971, allocations: 11.98 kB / 0.7445 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1971, allocations: 3.938 kB / 0.7445 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1971, allocations: 3.938 kB / 0.7445 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.1984, allocations: 0.5107 MB / 0.745 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.1985, allocations: 67.61 kB / 0.745 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.61e-05/0.1986, allocations: 8 kB / 0.745 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.199, allocations: 35.89 kB / 0.7451 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.1991, allocations: 19.97 kB / 0.7451 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.1991, allocations: 7.984 kB / 0.7451 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003458/0.1994, allocations: 311.1 kB / 0.7454 GB, free: 15 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1994, allocations: 0 / 0.7454 GB, free: 15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004747/0.1999, allocations: 127.8 kB / 0.7455 GB, free: 14.87 MB / 0.5762 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 (13): * Single equations (assignments): 13 * 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.001845/0.2018, allocations: 1.129 MB / 0.7466 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.2032, allocations: 0.6465 MB / 0.7473 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2032, allocations: 0 / 0.7473 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006107/0.2038, allocations: 191.8 kB / 0.7474 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.2044, allocations: 61.86 kB / 0.7475 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008485/0.2129, allocations: 5.488 MB / 0.7529 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.2131, allocations: 199.4 kB / 0.7531 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003012/0.2134, allocations: 69.91 kB / 0.7531 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.2136, allocations: 123.4 kB / 0.7532 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.2136, allocations: 0 / 0.7532 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3309/0.5446, allocations: 10.32 MB / 0.7633 GB, free: 34.9 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.48, allocations: 7.625 kB / 0.7633 GB, free: 34.9 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.059342702385038] Failed to read output from testmodel.py, exit status != 0: 11.585257513914257 11.599938248 11.420089398 Calling exit ...