Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.00094/0.00094, 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.001001/0.001001, allocations: 170.3 kB / 22.45 MB, free: 2.109 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.9325/0.9325, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.732/1.732, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.9504 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.731e-05, allocations: 2.281 kB / 0.9504 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002729/0.002756, allocations: 1.281 MB / 0.9517 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.6828/0.6855, allocations: 120.9 MB / 1.07 GB, free: 41.39 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.6856, allocations: 0 / 1.07 GB, free: 41.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.6856, allocations: 3.281 kB / 1.07 GB, free: 41.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.947e-05/0.6856, allocations: 10.27 kB / 1.07 GB, free: 41.38 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009428/0.6866, allocations: 466.1 kB / 1.07 GB, free: 41.35 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 7.947e-05/0.6867, allocations: 43.42 kB / 1.07 GB, free: 41.35 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.6867, allocations: 4.172 kB / 1.07 GB, free: 41.35 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.556e-05/0.6868, allocations: 27.64 kB / 1.07 GB, free: 41.35 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.6868, allocations: 22.34 kB / 1.07 GB, free: 41.35 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.6868, allocations: 2.906 kB / 1.07 GB, free: 41.35 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008824/0.6877, allocations: 0.7945 MB / 1.071 GB, free: 41.34 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.6877, allocations: 12.72 kB / 1.071 GB, free: 41.34 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.444e-05/0.6878, allocations: 11.38 kB / 1.071 GB, free: 41.34 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.6883, allocations: 0.5603 MB / 1.072 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.6883, allocations: 2.094 kB / 1.072 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.023e-06/0.6883, allocations: 4.625 kB / 1.072 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6883, allocations: 4 kB / 1.072 GB, free: 41.32 MB / 0.9948 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.0004106/0.6887, allocations: 292.5 kB / 1.072 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.6887, allocations: 11.31 kB / 1.072 GB, free: 41.05 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.562e-05/0.6888, allocations: 38.25 kB / 1.072 GB, free: 41.01 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.6889, allocations: 15.11 kB / 1.072 GB, free: 41.01 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.584e-05/0.6889, allocations: 104.5 kB / 1.072 GB, free: 40.89 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.689, allocations: 6.312 kB / 1.072 GB, free: 40.89 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.689, allocations: 6.359 kB / 1.072 GB, free: 40.89 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.6891, allocations: 137.5 kB / 1.072 GB, free: 40.76 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6891, allocations: 3.938 kB / 1.072 GB, free: 40.75 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.6891, allocations: 7.312 kB / 1.072 GB, free: 40.75 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.6891, allocations: 0 / 1.072 GB, free: 40.75 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.623e-05/0.6892, allocations: 17.44 kB / 1.072 GB, free: 40.75 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.6893, allocations: 136.6 kB / 1.072 GB, free: 40.59 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.329e-05/0.6894, allocations: 50.47 kB / 1.072 GB, free: 40.57 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.6894, allocations: 18.77 kB / 1.073 GB, free: 40.56 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005696/0.6951, allocations: 2.872 MB / 1.075 GB, free: 40.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.6951, allocations: 34.12 kB / 1.075 GB, free: 40.26 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=7): time 2.144e-06/0.6951, allocations: 0 / 1.075 GB, free: 40.26 MB / 0.9948 GB Notification: Performance of matching and sorting (n=11): time 0.02518/0.7203, allocations: 14.93 MB / 1.09 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.7203, allocations: 57.19 kB / 1.09 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.021e-05/0.7204, allocations: 96.45 kB / 1.09 GB, free: 38.31 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.7204, allocations: 26.77 kB / 1.09 GB, free: 38.28 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.919e-06/0.7204, allocations: 81.17 kB / 1.09 GB, free: 38.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.7204, allocations: 42.22 kB / 1.09 GB, free: 38.17 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.7205, allocations: 37.22 kB / 1.09 GB, free: 38.15 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.504e-05/0.7205, allocations: 314.1 kB / 1.091 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.7205, allocations: 22.66 kB / 1.091 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.44e-05/0.7206, allocations: 23.48 kB / 1.091 GB, free: 37.84 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.401e-05/0.7207, allocations: 65.23 kB / 1.091 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.7207, allocations: 0 / 1.091 GB, free: 37.83 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001711/0.7209, allocations: 104.9 kB / 1.091 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.7209, allocations: 5.719 kB / 1.091 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7209, allocations: 3.938 kB / 1.091 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.7209, allocations: 1.219 kB / 1.091 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.721, allocations: 30.75 kB / 1.091 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.721, allocations: 1.625 kB / 1.091 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.879e-05/0.721, allocations: 3.438 kB / 1.091 GB, free: 37.79 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.721, allocations: 3.781 kB / 1.091 GB, free: 37.79 MB / 0.9948 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.261e-05/0.7211, allocations: 114.9 kB / 1.091 GB, free: 37.67 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.7211, allocations: 12.27 kB / 1.091 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.7213, allocations: 133.2 kB / 1.091 GB, free: 37.62 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.7213, allocations: 1.5 kB / 1.091 GB, free: 37.62 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.7213, allocations: 2.562 kB / 1.091 GB, free: 37.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.7213, allocations: 0.5156 kB / 1.091 GB, free: 37.62 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.538e-05/0.7214, allocations: 142.6 kB / 1.091 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7214, allocations: 3.938 kB / 1.091 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.865e-05/0.7215, allocations: 24.05 kB / 1.091 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.7215, allocations: 1 kB / 1.091 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.7215, allocations: 4.672 kB / 1.091 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.7215, allocations: 1.969 kB / 1.091 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7215, allocations: 0 / 1.091 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.7217, allocations: 162 kB / 1.091 GB, free: 37.38 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.7218, allocations: 20.12 kB / 1.091 GB, free: 37.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.7218, allocations: 1 kB / 1.091 GB, free: 37.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.7219, allocations: 15.44 kB / 1.091 GB, free: 37.38 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.722, allocations: 7.125 kB / 1.091 GB, free: 37.38 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.722, allocations: 11.5 kB / 1.091 GB, free: 37.38 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.803e-05/0.722, allocations: 77.31 kB / 1.092 GB, free: 37.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.722, allocations: 0 / 1.092 GB, free: 37.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001929/0.7239, allocations: 0.5671 MB / 1.092 GB, free: 37.28 MB / 0.9948 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.002758/0.7267, allocations: 0.9727 MB / 1.093 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.7268, allocations: 63.09 kB / 1.093 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7268, allocations: 5.141 kB / 1.093 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 4.461e-05/0.7269, allocations: 29.25 kB / 1.093 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.727, allocations: 13.22 kB / 1.093 GB, free: 36.64 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.7287, allocations: 1.476 MB / 1.095 GB, free: 35.44 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.753e-05/0.7287, allocations: 69.5 kB / 1.095 GB, free: 35.37 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 6.961e-05/0.7288, allocations: 28.31 kB / 1.095 GB, free: 35.35 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.7288, allocations: 23.66 kB / 1.095 GB, free: 35.35 MB / 0.9948 GB Notification: Performance of SimCode: time 9.52e-07/0.7288, allocations: 0 / 1.095 GB, free: 35.35 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06184/0.7907, allocations: 26.2 MB / 1.12 GB, free: 32.27 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.353/8.144, allocations: 11.75 kB / 1.12 GB, free: 32.27 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 12.705835176631808] Failed to read output from testmodel.py, exit status != 0: 8.237020424567163 8.245562435 7.555163684 Calling exit ...