Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.0007589/0.0007589, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007581/0.0007581, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8351/0.8351, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001376/0.001376, allocations: 234.5 kB / 259.4 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6632/0.6632, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.6462 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.363e-05, allocations: 2.281 kB / 0.6462 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.001504/0.001517, allocations: 1.282 MB / 0.6475 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3524/0.3539, allocations: 120.9 MB / 0.7656 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.857e-05/0.354, allocations: 0 / 0.7656 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.537e-05/0.354, allocations: 0 / 0.7656 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.174e-05/0.354, allocations: 7.938 kB / 0.7656 GB, free: 0.918 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.3551, allocations: 462.2 kB / 0.766 GB, free: 476 kB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.04e-05/0.3552, allocations: 43.83 kB / 0.7661 GB, free: 432 kB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.3553, allocations: 0 / 0.7661 GB, free: 432 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.3553, allocations: 39.89 kB / 0.7661 GB, free: 392 kB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.3554, allocations: 11.98 kB / 0.7661 GB, free: 380 kB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3554, allocations: 4 kB / 0.7661 GB, free: 376 kB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.3564, allocations: 0.7996 MB / 0.7669 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.3565, allocations: 4 kB / 0.7669 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.3565, allocations: 23.91 kB / 0.7669 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.357, allocations: 0.5575 MB / 0.7675 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.357, allocations: 0 / 0.7675 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.357, allocations: 0 / 0.7675 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.357, allocations: 0 / 0.7675 GB, free: 14.98 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004414/0.3575, allocations: 295.3 kB / 0.7678 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3575, allocations: 9.938 kB / 0.7678 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.3576, allocations: 42.67 kB / 0.7678 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.3577, allocations: 16.03 kB / 0.7678 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.718e-05/0.3577, allocations: 105.7 kB / 0.7679 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3578, allocations: 12.31 kB / 0.768 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3578, allocations: 12.36 kB / 0.768 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3579, allocations: 127.1 kB / 0.7681 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.3579, allocations: 0 / 0.7681 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3579, allocations: 8.641 kB / 0.7681 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3579, allocations: 0 / 0.7681 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.545e-05/0.358, allocations: 15.98 kB / 0.7681 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001288/0.3581, allocations: 130.1 kB / 0.7682 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.971e-05/0.3582, allocations: 58.47 kB / 0.7683 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.118e-05/0.3582, allocations: 12.86 kB / 0.7683 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005161/0.3634, allocations: 2.872 MB / 0.7711 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3634, allocations: 39.16 kB / 0.7711 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.3634, allocations: 0 / 0.7711 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.02036/0.3838, allocations: 14.93 MB / 0.7857 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.3838, allocations: 55.41 kB / 0.7858 GB, free: 12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.384, allocations: 101.8 kB / 0.7859 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.384, allocations: 29.7 kB / 0.7859 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.858e-05/0.3841, allocations: 80.14 kB / 0.786 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.3841, allocations: 39.66 kB / 0.786 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.3841, allocations: 33.7 kB / 0.786 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.3842, allocations: 310.8 kB / 0.7863 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.087e-05/0.3842, allocations: 23.98 kB / 0.7864 GB, free: 11.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-05/0.3843, allocations: 31.92 kB / 0.7864 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.602e-05/0.3844, allocations: 61.47 kB / 0.7865 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3844, allocations: 0 / 0.7865 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001341/0.3845, allocations: 107.1 kB / 0.7866 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.3845, allocations: 12.62 kB / 0.7866 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.3845, allocations: 0 / 0.7866 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3845, allocations: 0 / 0.7866 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.3846, allocations: 27.92 kB / 0.7866 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3846, allocations: 0 / 0.7866 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.3846, allocations: 8 kB / 0.7866 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3846, allocations: 6.25 kB / 0.7866 GB, free: 11.11 MB / 0.6198 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 (14): * Single equations (assignments): 14 * 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 5.959e-05/0.3847, allocations: 119.1 kB / 0.7867 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.3847, allocations: 7.938 kB / 0.7867 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.3849, allocations: 129.5 kB / 0.7869 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3849, allocations: 0 / 0.7869 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3849, allocations: 0 / 0.7869 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3849, allocations: 0 / 0.7869 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.856e-05/0.385, allocations: 144.7 kB / 0.787 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.385, allocations: 3.938 kB / 0.787 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.244e-05/0.3851, allocations: 27.98 kB / 0.787 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3851, allocations: 4 kB / 0.787 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.3851, allocations: 4 kB / 0.787 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3851, allocations: 0 / 0.787 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3851, allocations: 0 / 0.787 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.3853, allocations: 163.4 kB / 0.7872 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.3853, allocations: 16.98 kB / 0.7872 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.3853, allocations: 4 kB / 0.7872 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.902e-05/0.3854, allocations: 11.98 kB / 0.7872 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.3854, allocations: 8 kB / 0.7872 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.3854, allocations: 13.11 kB / 0.7872 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.316e-05/0.3854, allocations: 75.28 kB / 0.7873 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.3854, allocations: 0 / 0.7873 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001377/0.3868, allocations: 0.5699 MB / 0.7879 GB, free: 9.754 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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.002602/0.3894, allocations: 0.9675 MB / 0.7888 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.3896, allocations: 63.91 kB / 0.7889 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3896, allocations: 0 / 0.7889 GB, free: 8.695 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.606e-05/0.3896, allocations: 35.92 kB / 0.7889 GB, free: 8.66 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.3898, allocations: 9.094 kB / 0.7889 GB, free: 8.652 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.3913, allocations: 1.498 MB / 0.7904 GB, free: 7.086 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.3914, allocations: 67.34 kB / 0.7904 GB, free: 7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.15e-05/0.3914, allocations: 28.58 kB / 0.7905 GB, free: 6.973 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.3915, allocations: 20.5 kB / 0.7905 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of SimCode: time 1.092e-06/0.3915, allocations: 4 kB / 0.7905 GB, free: 6.949 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03821/0.4297, allocations: 26.21 MB / 0.8161 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/7.302, allocations: 10.8 kB / 0.8161 GB, free: 12.9 MB / 0.6511 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.650618366897106] Failed to read output from testmodel.py, exit status != 0: 7.386204995214939 7.395434578 7.036492707 Calling exit ...