Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.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.00177/0.00177, 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.002172/0.002172, allocations: 216.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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9387/0.9387, allocations: 149.9 MB / 463 MB, free: 10.3 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.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.Example8,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8",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.002235/0.002235, allocations: 62.69 kB / 0.6411 GB, free: 10.13 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1798, allocations: 89.17 MB / 0.7281 GB, free: 1.016 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.Example8): time 0.001861/0.1816, allocations: 0.5183 MB / 0.7286 GB, free: 0.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001446/0.1818, allocations: 19.91 kB / 0.7287 GB, free: 492 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.1818, allocations: 0 / 0.7287 GB, free: 492 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.1818, allocations: 3.938 kB / 0.7287 GB, free: 488 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.182, allocations: 4 kB / 0.7287 GB, free: 484 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.807e-06/0.182, allocations: 0 / 0.7287 GB, free: 484 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.525e-05/0.182, allocations: 0 / 0.7287 GB, free: 484 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.1821, allocations: 8 kB / 0.7287 GB, free: 476 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.1821, allocations: 7.922 kB / 0.7287 GB, free: 468 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.1822, allocations: 0 / 0.7287 GB, free: 468 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1822, allocations: 4 kB / 0.7287 GB, free: 464 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.432e-06/0.1822, allocations: 0 / 0.7287 GB, free: 464 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.1822, allocations: 7.875 kB / 0.7287 GB, free: 456 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.1822, allocations: 0 / 0.7287 GB, free: 456 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.503e-05/0.1823, allocations: 3.984 kB / 0.7287 GB, free: 452 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1823, allocations: 0 / 0.7287 GB, free: 452 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1823, allocations: 0 / 0.7287 GB, free: 452 kB / 0.545 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.1823, allocations: 4 kB / 0.7287 GB, free: 448 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003165/0.1826, allocations: 250.7 kB / 0.7289 GB, free: 168 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1826, allocations: 8.031 kB / 0.729 GB, free: 160 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.1827, allocations: 30.75 kB / 0.729 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.294e-05/0.1827, allocations: 0.9375 kB / 0.729 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1828, allocations: 110.5 kB / 0.7291 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1829, allocations: 384 / 0.7291 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.1829, allocations: 8.125 kB / 0.7291 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.183, allocations: 47.34 kB / 0.7291 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.183, allocations: 0 / 0.7291 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.183, allocations: 4 kB / 0.7291 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.183, allocations: 4 kB / 0.7291 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.18e-05/0.183, allocations: 0 / 0.7291 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.1832, allocations: 129.6 kB / 0.7293 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/0.1833, allocations: 41.16 kB / 0.7293 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.914e-05/0.1833, allocations: 21.77 kB / 0.7293 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.1833, allocations: 0 / 0.7293 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.1834, allocations: 30.56 kB / 0.7294 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1834, allocations: 4 kB / 0.7294 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001583/0.1835, allocations: 41.86 kB / 0.7294 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.1836, allocations: 85.08 kB / 0.7295 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.1837, allocations: 97.84 kB / 0.7296 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1837, allocations: 25.7 kB / 0.7296 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.1837, allocations: 80.14 kB / 0.7297 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.1837, allocations: 3.953 kB / 0.7297 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.1838, allocations: 17.72 kB / 0.7297 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.1839, allocations: 310.8 kB / 0.73 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.074e-05/0.184, allocations: 0 / 0.73 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.9e-05/0.184, allocations: 17.7 kB / 0.73 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.184, allocations: 25.91 kB / 0.73 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.184, allocations: 0 / 0.73 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.258e-05/0.1841, allocations: 45.58 kB / 0.7301 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1841, allocations: 4 kB / 0.7301 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.1841, allocations: 0 / 0.7301 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1841, allocations: 4 kB / 0.7301 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.1842, allocations: 3.984 kB / 0.7301 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.1842, allocations: 7.984 kB / 0.7301 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.1842, allocations: 7.938 kB / 0.7301 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1842, allocations: 4.062 kB / 0.7301 GB, free: 14.77 MB / 0.5606 GB 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): 2 * 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 prepare postOptimizeDAE: time 9.222e-05/0.1843, allocations: 109.8 kB / 0.7302 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.1843, allocations: 7.875 kB / 0.7302 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.1844, allocations: 44.69 kB / 0.7303 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.1845, allocations: 0 / 0.7303 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1845, allocations: 4 kB / 0.7303 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1845, allocations: 3.938 kB / 0.7303 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.1846, allocations: 120.7 kB / 0.7304 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.1846, allocations: 8.062 kB / 0.7304 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.1846, allocations: 0 / 0.7304 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1846, allocations: 4 kB / 0.7304 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.1846, allocations: 7.938 kB / 0.7304 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1846, allocations: 0 / 0.7304 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1846, allocations: 0 / 0.7304 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.5e-05/0.1847, allocations: 73.92 kB / 0.7305 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.1848, allocations: 7.922 kB / 0.7305 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.1848, allocations: 4 kB / 0.7305 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.387e-05/0.1848, allocations: 0 / 0.7305 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.1848, allocations: 7.953 kB / 0.7305 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-06/0.1848, allocations: 4 kB / 0.7305 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.883e-05/0.1848, allocations: 79.28 kB / 0.7306 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1848, allocations: 0 / 0.7306 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001732/0.185, allocations: 0 / 0.7306 GB, free: 14.21 MB / 0.5606 GB 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): 2 * 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.0004338/0.1855, allocations: 0.6054 MB / 0.7312 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.468e-05/0.1855, allocations: 11.94 kB / 0.7312 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1855, allocations: 256 / 0.7312 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-06/0.1856, allocations: 8 kB / 0.7312 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001412/0.1857, allocations: 5.875 kB / 0.7312 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.186, allocations: 123.4 kB / 0.7313 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.135e-05/0.1861, allocations: 59.3 kB / 0.7314 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.1861, allocations: 3.984 kB / 0.7314 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.1862, allocations: 7.438 kB / 0.7314 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1862, allocations: 0 / 0.7314 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.2159, allocations: 1.419 MB / 0.7328 GB, free: 12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.15, allocations: 8.578 kB / 0.7328 GB, free: 12 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_Example8.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.834557591937482] Failed to read output from testmodel.py, exit status != 0: 11.249566068407148 11.266161857 11.080714028 Calling exit ...