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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.005/3.005, allocations: 476.7 MB / 0.7611 GB, free: 15.68 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002255/0.002255, allocations: 67.89 kB / 1.104 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059/1.061, allocations: 168.7 MB / 1.269 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002955/1.064, allocations: 1.277 MB / 1.27 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1869/1.251, allocations: 138.1 MB / 1.405 GB, free: 1.637 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/1.251, allocations: 1.594 kB / 1.405 GB, free: 1.637 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 2.12e-05/1.251, allocations: 3.938 kB / 1.405 GB, free: 1.633 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/1.251, allocations: 0 / 1.405 GB, free: 1.633 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001432/1.252, allocations: 476.7 kB / 1.405 GB, free: 1.293 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 8.76e-05/1.252, allocations: 40.62 kB / 1.405 GB, free: 1.273 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/1.252, allocations: 2.562 kB / 1.405 GB, free: 1.273 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/1.252, allocations: 26.31 kB / 1.405 GB, free: 1.258 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.619e-05/1.253, allocations: 19.67 kB / 1.405 GB, free: 1.246 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.087e-05/1.253, allocations: 5.188 kB / 1.405 GB, free: 1.242 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/1.254, allocations: 0.8319 MB / 1.406 GB, free: 0.8086 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/1.254, allocations: 10.98 kB / 1.406 GB, free: 0.8008 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.141e-05/1.254, allocations: 14.58 kB / 1.406 GB, free: 0.793 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0006075/1.255, allocations: 446.7 kB / 1.407 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/1.255, allocations: 0 / 1.407 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.072e-06/1.255, allocations: 0 / 1.407 GB, free: 0.5117 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.748e-06/1.255, allocations: 0 / 1.407 GB, free: 0.5117 MB / 1.092 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.0005564/1.255, allocations: 373.2 kB / 1.407 GB, free: 132 kB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/1.255, allocations: 10.47 kB / 1.407 GB, free: 132 kB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/1.255, allocations: 36.19 kB / 1.407 GB, free: 88 kB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/1.255, allocations: 16.14 kB / 1.407 GB, free: 80 kB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/1.256, allocations: 161.4 kB / 1.407 GB, free: 15.88 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/1.256, allocations: 10.53 kB / 1.407 GB, free: 15.88 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/1.256, allocations: 11.11 kB / 1.407 GB, free: 15.87 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/1.256, allocations: 62.77 kB / 1.407 GB, free: 15.81 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/1.256, allocations: 0 / 1.407 GB, free: 15.81 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/1.256, allocations: 1.188 kB / 1.407 GB, free: 15.81 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/1.256, allocations: 1.438 kB / 1.407 GB, free: 15.81 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.09e-05/1.256, allocations: 17.14 kB / 1.407 GB, free: 15.8 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001885/1.256, allocations: 169.6 kB / 1.407 GB, free: 15.6 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/1.256, allocations: 47.12 kB / 1.407 GB, free: 15.56 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.23e-05/1.256, allocations: 17.92 kB / 1.407 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/1.268, allocations: 3.212 MB / 1.411 GB, free: 13.96 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/1.268, allocations: 31.75 kB / 1.411 GB, free: 13.92 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 4.949e-06/1.268, allocations: 3.984 kB / 1.411 GB, free: 13.91 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04214/1.31, allocations: 14.99 MB / 1.425 GB, free: 4.586 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/1.31, allocations: 51.41 kB / 1.425 GB, free: 4.523 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/1.31, allocations: 97.84 kB / 1.425 GB, free: 4.418 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/1.31, allocations: 29.7 kB / 1.425 GB, free: 4.383 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 4.578e-05/1.31, allocations: 80.14 kB / 1.426 GB, free: 4.301 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/1.31, allocations: 43.64 kB / 1.426 GB, free: 4.258 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/1.31, allocations: 29.72 kB / 1.426 GB, free: 4.223 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001625/1.31, allocations: 326.9 kB / 1.426 GB, free: 3.895 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.7e-05/1.31, allocations: 19.98 kB / 1.426 GB, free: 3.875 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.723e-05/1.311, allocations: 24 kB / 1.426 GB, free: 3.852 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/1.311, allocations: 66.16 kB / 1.426 GB, free: 3.785 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/1.311, allocations: 0 / 1.426 GB, free: 3.785 MB / 1.107 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000225/1.311, allocations: 102.8 kB / 1.426 GB, free: 3.68 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/1.311, allocations: 15.92 kB / 1.426 GB, free: 3.664 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/1.311, allocations: 0 / 1.426 GB, free: 3.664 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/1.311, allocations: 0 / 1.426 GB, free: 3.664 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/1.311, allocations: 24 kB / 1.426 GB, free: 3.641 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.311, allocations: 3.938 kB / 1.426 GB, free: 3.637 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/1.311, allocations: 8 kB / 1.426 GB, free: 3.629 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/1.311, allocations: 7.984 kB / 1.426 GB, free: 3.621 MB / 1.107 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 0.0001154/1.311, allocations: 121.7 kB / 1.426 GB, free: 3.492 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/1.311, allocations: 7.938 kB / 1.426 GB, free: 3.484 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/1.312, allocations: 117.6 kB / 1.426 GB, free: 3.359 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/1.312, allocations: 4 kB / 1.426 GB, free: 3.355 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.312, allocations: 3.938 kB / 1.426 GB, free: 3.352 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.312, allocations: 0 / 1.426 GB, free: 3.352 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/1.312, allocations: 181.6 kB / 1.427 GB, free: 3.125 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.312, allocations: 0 / 1.427 GB, free: 3.125 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/1.312, allocations: 23.98 kB / 1.427 GB, free: 3.102 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/1.312, allocations: 0 / 1.427 GB, free: 3.102 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/1.312, allocations: 8 kB / 1.427 GB, free: 3.094 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.312, allocations: 0 / 1.427 GB, free: 3.094 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.312, allocations: 4 kB / 1.427 GB, free: 3.09 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003114/1.312, allocations: 156.9 kB / 1.427 GB, free: 2.918 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/1.312, allocations: 93.03 kB / 1.427 GB, free: 2.809 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/1.312, allocations: 0 / 1.427 GB, free: 2.809 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/1.312, allocations: 15.98 kB / 1.427 GB, free: 2.793 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.313e-05/1.313, allocations: 15.92 kB / 1.427 GB, free: 2.777 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/1.313, allocations: 8 kB / 1.427 GB, free: 2.77 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4e-05/1.313, allocations: 75.28 kB / 1.427 GB, free: 2.695 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/1.313, allocations: 0 / 1.427 GB, free: 2.695 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002072/1.315, allocations: 0.566 MB / 1.428 GB, free: 2.129 MB / 1.107 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.003549/1.318, allocations: 0.9341 MB / 1.428 GB, free: 1.168 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002118/1.318, allocations: 68.41 kB / 1.429 GB, free: 1.102 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.318, allocations: 0 / 1.429 GB, free: 1.102 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 6.713e-05/1.318, allocations: 39.86 kB / 1.429 GB, free: 1.062 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/1.319, allocations: 224 / 1.429 GB, free: 1.062 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/1.321, allocations: 1.559 MB / 1.43 GB, free: 15.43 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/1.322, allocations: 0.6851 MB / 1.431 GB, free: 14.71 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 9.558e-05/1.322, allocations: 28.53 kB / 1.431 GB, free: 14.69 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/1.322, allocations: 23.44 kB / 1.431 GB, free: 14.66 MB / 1.123 GB Notification: Performance of SimCode: time 5.31e-07/1.322, allocations: 0 / 1.431 GB, free: 14.66 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0617/1.383, allocations: 25.46 MB / 1.456 GB, free: 5.242 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.245/10.63, allocations: 8.531 kB / 1.456 GB, free: 5.238 MB / 1.139 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-10 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: 20.809941462706774] Failed to read output from testmodel.py, exit status != 0: 10.710405135992914 10.73221934 9.472951115 Calling exit ...