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.001232/0.001232, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001459/0.001459, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.395/1.395, 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.00247/0.00247, allocations: 293.2 kB / 312.7 MB, free: 2.594 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.194/1.194, allocations: 180.6 MB / 0.5369 GB, free: 14.57 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.002887/0.002887, allocations: 113.5 kB / 0.7395 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1669, allocations: 95.39 MB / 0.8326 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002864/0.1698, allocations: 1.27 MB / 0.8339 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1569/0.3267, allocations: 120.9 MB / 0.9519 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.3267, allocations: 0 / 0.9519 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 1.888e-05/0.3267, allocations: 3.984 kB / 0.9519 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 4.829e-05/0.3268, allocations: 3.938 kB / 0.9519 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.3281, allocations: 458.6 kB / 0.9524 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.3282, allocations: 51.78 kB / 0.9524 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.3282, allocations: 3.984 kB / 0.9524 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.5e-05/0.3283, allocations: 19.98 kB / 0.9524 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 8.139e-05/0.3283, allocations: 19.91 kB / 0.9525 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.3284, allocations: 0 / 0.9525 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001708/0.3301, allocations: 0.7958 MB / 0.9532 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.3301, allocations: 8 kB / 0.9532 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.176e-05/0.3301, allocations: 15.92 kB / 0.9533 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0008059/0.3309, allocations: 451 kB / 0.9537 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3309, allocations: 0 / 0.9537 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3309, allocations: 0 / 0.9537 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3309, allocations: 0 / 0.9537 GB, free: 11.91 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.0006146/0.3316, allocations: 302.1 kB / 0.954 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.3316, allocations: 13.88 kB / 0.954 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.52e-05/0.3317, allocations: 34.69 kB / 0.954 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.3318, allocations: 12.94 kB / 0.954 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.3319, allocations: 110.5 kB / 0.9541 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.332, allocations: 384 / 0.9541 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.332, allocations: 15.89 kB / 0.9542 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.3322, allocations: 126.8 kB / 0.9543 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3322, allocations: 4 kB / 0.9543 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3322, allocations: 8 kB / 0.9543 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3322, allocations: 4 kB / 0.9543 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.3323, allocations: 19.91 kB / 0.9543 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.3325, allocations: 136.8 kB / 0.9544 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3327, allocations: 50.5 kB / 0.9545 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.192e-05/0.3327, allocations: 13.09 kB / 0.9545 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01132/0.344, allocations: 2.876 MB / 0.9573 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/0.344, allocations: 30.56 kB / 0.9573 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.344, allocations: 0 / 0.9573 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.04361/0.3876, allocations: 14.93 MB / 0.9719 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3877, allocations: 51.41 kB / 0.972 GB, free: 8.891 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.974e-05/0.3878, allocations: 101.8 kB / 0.9721 GB, free: 8.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.3878, allocations: 25.7 kB / 0.9721 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.3878, allocations: 80.14 kB / 0.9722 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.3879, allocations: 47.64 kB / 0.9722 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.3879, allocations: 25.84 kB / 0.9722 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3881, allocations: 330.8 kB / 0.9726 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.715e-05/0.3881, allocations: 19.98 kB / 0.9726 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.236e-05/0.3882, allocations: 20 kB / 0.9726 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3883, allocations: 65.91 kB / 0.9727 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3883, allocations: 0 / 0.9727 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002261/0.3885, allocations: 113 kB / 0.9728 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3885, allocations: 4 kB / 0.9728 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3886, allocations: 3.984 kB / 0.9728 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3886, allocations: 4 kB / 0.9728 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.3887, allocations: 20 kB / 0.9728 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3887, allocations: 4 kB / 0.9728 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.3887, allocations: 4 kB / 0.9728 GB, free: 8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3887, allocations: 7.984 kB / 0.9728 GB, free: 7.992 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.888e-05/0.3888, allocations: 125.7 kB / 0.9729 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.009e-05/0.3889, allocations: 4 kB / 0.9729 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.3891, allocations: 121.5 kB / 0.973 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3891, allocations: 11.94 kB / 0.9731 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3892, allocations: 7.938 kB / 0.9731 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3892, allocations: 0 / 0.9731 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.3893, allocations: 148.7 kB / 0.9732 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.3893, allocations: 0 / 0.9732 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.3894, allocations: 23.98 kB / 0.9732 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3894, allocations: 0 / 0.9732 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.3894, allocations: 8 kB / 0.9732 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3894, allocations: 3.938 kB / 0.9732 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3894, allocations: 0 / 0.9732 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.3897, allocations: 153 kB / 0.9734 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.3898, allocations: 19.98 kB / 0.9734 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.3898, allocations: 0 / 0.9734 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3899, allocations: 15.98 kB / 0.9734 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.39, allocations: 11.92 kB / 0.9734 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.39, allocations: 4 kB / 0.9734 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.39, allocations: 83.28 kB / 0.9735 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.39, allocations: 0 / 0.9735 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001526/0.3915, allocations: 0.5583 MB / 0.9741 GB, free: 6.625 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.003728/0.3953, allocations: 0.948 MB / 0.975 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.3954, allocations: 59.92 kB / 0.975 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3954, allocations: 0 / 0.975 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/0.3955, allocations: 32.31 kB / 0.9751 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.3957, allocations: 10.03 kB / 0.9751 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.398, allocations: 1.559 MB / 0.9766 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.178e-05/0.3981, allocations: 71.78 kB / 0.9767 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.227e-05/0.3982, allocations: 24.59 kB / 0.9767 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.504e-05/0.3982, allocations: 19.44 kB / 0.9767 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.3982, allocations: 4 kB / 0.9767 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4225/0.8207, allocations: 26.05 MB / 1.002 GB, free: 136.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.31, allocations: 14.28 kB / 1.002 GB, free: 136.5 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.558597350027412] Failed to read output from testmodel.py, exit status != 0: 12.417470762971789 12.42746569 12.094476686 Calling exit ...