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.001392/0.001392, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001621/0.001621, allocations: 210 kB / 22.24 MB, free: 4.859 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.403/1.403, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.00244/0.00244, allocations: 300.3 kB / 312.7 MB, free: 2.598 MB / 238.1 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 1.184/1.184, allocations: 180.6 MB / 0.5369 GB, free: 14.51 MB / 382.1 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: NcDataReader2 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: BuildingSystems 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.00284/0.00284, allocations: 102.1 kB / 0.7395 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1691, allocations: 95.38 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002231/0.1713, allocations: 1.272 MB / 0.8339 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1503/0.3216, allocations: 120.9 MB / 0.9519 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.039e-05/0.3216, allocations: 4 kB / 0.9519 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.3216, allocations: 0 / 0.9519 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 5.719e-05/0.3217, allocations: 11.91 kB / 0.9519 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.3231, allocations: 458.6 kB / 0.9524 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 8.178e-05/0.3231, allocations: 39.86 kB / 0.9524 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.128e-05/0.3232, allocations: 8 kB / 0.9524 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.972e-05/0.3232, allocations: 23.97 kB / 0.9524 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.3233, allocations: 15.92 kB / 0.9525 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.3233, allocations: 7.938 kB / 0.9525 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.3249, allocations: 0.7919 MB / 0.9532 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.3249, allocations: 11.97 kB / 0.9533 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.941e-05/0.3249, allocations: 15.94 kB / 0.9533 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006901/0.3256, allocations: 443 kB / 0.9537 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3256, allocations: 4 kB / 0.9537 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3256, allocations: 7.938 kB / 0.9537 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3256, allocations: 0 / 0.9537 GB, free: 11.86 MB / 0.7012 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.0005135/0.3261, allocations: 286.1 kB / 0.954 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3262, allocations: 13.94 kB / 0.954 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.333e-05/0.3262, allocations: 46.67 kB / 0.954 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.3264, allocations: 8.938 kB / 0.954 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.61e-05/0.3265, allocations: 106.5 kB / 0.9541 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3265, allocations: 4.375 kB / 0.9541 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3265, allocations: 11.89 kB / 0.9542 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.3267, allocations: 134.8 kB / 0.9543 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3267, allocations: 0 / 0.9543 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3267, allocations: 0 / 0.9543 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3267, allocations: 7.984 kB / 0.9543 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.226e-05/0.3268, allocations: 19.92 kB / 0.9543 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.327, allocations: 132.8 kB / 0.9544 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.3271, allocations: 54.48 kB / 0.9545 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.3271, allocations: 12.86 kB / 0.9545 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.3386, allocations: 2.868 MB / 0.9573 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.3386, allocations: 38.56 kB / 0.9573 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.3386, allocations: 0 / 0.9573 GB, free: 7.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.04361/0.3822, allocations: 14.93 MB / 0.9719 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.3823, allocations: 51.41 kB / 0.972 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.915e-05/0.3823, allocations: 97.84 kB / 0.9721 GB, free: 8.742 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.3824, allocations: 29.7 kB / 0.9721 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.3824, allocations: 80.14 kB / 0.9722 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.3825, allocations: 43.62 kB / 0.9722 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.3825, allocations: 33.72 kB / 0.9722 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3827, allocations: 318.8 kB / 0.9726 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.115e-05/0.3827, allocations: 24 kB / 0.9726 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.55e-05/0.3828, allocations: 30.11 kB / 0.9726 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3829, allocations: 64.78 kB / 0.9727 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3829, allocations: 0 / 0.9727 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000231/0.3831, allocations: 107.8 kB / 0.9728 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3831, allocations: 5.875 kB / 0.9728 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3832, allocations: 0 / 0.9728 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.3832, allocations: 0 / 0.9728 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3833, allocations: 27.98 kB / 0.9728 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3833, allocations: 4 kB / 0.9728 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.595e-05/0.3833, allocations: 0 / 0.9728 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.3833, allocations: 8 kB / 0.9728 GB, free: 7.953 MB / 0.7169 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 9.569e-05/0.3834, allocations: 130.4 kB / 0.9729 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.801e-05/0.3835, allocations: 0 / 0.9729 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002767/0.3838, allocations: 121.4 kB / 0.9731 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3838, allocations: 3.984 kB / 0.9731 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3838, allocations: 11.88 kB / 0.9731 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3838, allocations: 0 / 0.9731 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.3839, allocations: 144.7 kB / 0.9732 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3839, allocations: 0 / 0.9732 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.384, allocations: 31.92 kB / 0.9732 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.384, allocations: 0 / 0.9732 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.3841, allocations: 0 / 0.9732 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3841, allocations: 4 kB / 0.9732 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3841, allocations: 0 / 0.9732 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.3844, allocations: 157 kB / 0.9734 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.3844, allocations: 11.98 kB / 0.9734 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.733e-05/0.3844, allocations: 4 kB / 0.9734 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3846, allocations: 15.98 kB / 0.9734 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.809e-05/0.3846, allocations: 19.92 kB / 0.9734 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.3846, allocations: 4 kB / 0.9734 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.748e-05/0.3847, allocations: 75.28 kB / 0.9735 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.3847, allocations: 0 / 0.9735 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001796/0.3864, allocations: 0.5661 MB / 0.9741 GB, free: 6.582 MB / 0.7169 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.004098/0.3905, allocations: 0.9323 MB / 0.975 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001955/0.3907, allocations: 64.34 kB / 0.975 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.3907, allocations: 8 kB / 0.975 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.016e-05/0.3908, allocations: 35.86 kB / 0.9751 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.391, allocations: 11.94 kB / 0.9751 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002521/0.3935, allocations: 1.552 MB / 0.9766 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.255e-05/0.3936, allocations: 67.84 kB / 0.9767 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.667e-05/0.3937, allocations: 28.53 kB / 0.9767 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.3937, allocations: 19.44 kB / 0.9767 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of SimCode: time 7.22e-07/0.3937, allocations: 3.938 kB / 0.9767 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3956/0.7893, allocations: 26.05 MB / 1.002 GB, free: 136.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/12.16, allocations: 19.88 kB / 1.002 GB, free: 136.6 MB / 0.7169 GB " [Timeout remaining time 648] (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: 19.498170462436974] Failed to read output from testmodel.py, exit status != 0: 12.278017808683217 12.298264948 11.96898546 Calling exit ...