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.001352/0.001352, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001562/0.001562, allocations: 218.8 kB / 22.25 MB, free: 5.125 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.872/2.872, allocations: 476.7 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings 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.002037/0.002037, allocations: 65.47 kB / 1.117 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3149, allocations: 170 MB / 1.283 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002297/0.3172, allocations: 1.284 MB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.164/0.4812, allocations: 141 MB / 1.422 GB, free: 12.75 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.4812, allocations: 0 / 1.422 GB, free: 12.75 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.4813, allocations: 0 / 1.422 GB, free: 12.75 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.4813, allocations: 3.938 kB / 1.422 GB, free: 12.75 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001439/0.4828, allocations: 473.8 kB / 1.423 GB, free: 12.29 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 9.901e-05/0.4828, allocations: 43.83 kB / 1.423 GB, free: 12.25 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.4829, allocations: 4 kB / 1.423 GB, free: 12.24 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.316e-05/0.4829, allocations: 23.92 kB / 1.423 GB, free: 12.22 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 8.689e-05/0.483, allocations: 23.91 kB / 1.423 GB, free: 12.2 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.483, allocations: 4 kB / 1.423 GB, free: 12.19 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.4847, allocations: 0.831 MB / 1.424 GB, free: 11.36 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.4847, allocations: 7.984 kB / 1.424 GB, free: 11.35 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.4848, allocations: 19.92 kB / 1.424 GB, free: 11.33 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0007118/0.4855, allocations: 455 kB / 1.424 GB, free: 10.89 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4855, allocations: 0 / 1.424 GB, free: 10.89 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4855, allocations: 0 / 1.424 GB, free: 10.89 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.4855, allocations: 0 / 1.424 GB, free: 10.89 MB / 1.123 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.0005444/0.486, allocations: 304.2 kB / 1.424 GB, free: 10.56 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4861, allocations: 8.031 kB / 1.424 GB, free: 10.55 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.4861, allocations: 38.73 kB / 1.424 GB, free: 10.51 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.4863, allocations: 12.88 kB / 1.424 GB, free: 10.5 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.4864, allocations: 106.5 kB / 1.425 GB, free: 10.37 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.4864, allocations: 4.375 kB / 1.425 GB, free: 10.36 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.4864, allocations: 7.938 kB / 1.425 GB, free: 10.36 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.4866, allocations: 61.59 kB / 1.425 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4866, allocations: 4 kB / 1.425 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.4866, allocations: 0 / 1.425 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4866, allocations: 0 / 1.425 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.174e-05/0.4867, allocations: 23.97 kB / 1.425 GB, free: 10.26 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.4869, allocations: 148.6 kB / 1.425 GB, free: 10.07 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.487, allocations: 54.5 kB / 1.425 GB, free: 10.01 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.986e-05/0.487, allocations: 16.84 kB / 1.425 GB, free: 9.992 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01141/0.4984, allocations: 2.852 MB / 1.428 GB, free: 7.137 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.139e-05/0.4985, allocations: 42.5 kB / 1.428 GB, free: 7.086 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 1.873e-06/0.4985, allocations: 0 / 1.428 GB, free: 7.086 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.04299/0.5415, allocations: 14.91 MB / 1.442 GB, free: 8.039 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.5415, allocations: 59.41 kB / 1.442 GB, free: 7.969 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.5416, allocations: 89.86 kB / 1.442 GB, free: 7.871 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.5416, allocations: 29.7 kB / 1.442 GB, free: 7.836 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.5417, allocations: 84.08 kB / 1.442 GB, free: 7.75 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.5417, allocations: 43.67 kB / 1.443 GB, free: 7.707 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.5418, allocations: 33.7 kB / 1.443 GB, free: 7.668 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5419, allocations: 318.8 kB / 1.443 GB, free: 7.348 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.977e-05/0.5419, allocations: 28.11 kB / 1.443 GB, free: 7.32 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.542, allocations: 24.61 kB / 1.443 GB, free: 7.297 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.5421, allocations: 62.55 kB / 1.443 GB, free: 7.234 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5421, allocations: 0 / 1.443 GB, free: 7.234 MB / 1.139 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002461/0.5424, allocations: 105.6 kB / 1.443 GB, free: 7.125 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.5424, allocations: 4 kB / 1.443 GB, free: 7.121 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5424, allocations: 3.984 kB / 1.443 GB, free: 7.117 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.5424, allocations: 4 kB / 1.443 GB, free: 7.113 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.5425, allocations: 23.98 kB / 1.443 GB, free: 7.09 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.5425, allocations: 4 kB / 1.443 GB, free: 7.086 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.5426, allocations: 4 kB / 1.443 GB, free: 7.082 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.5426, allocations: 8 kB / 1.443 GB, free: 7.074 MB / 1.139 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.838e-05/0.5427, allocations: 121.7 kB / 1.443 GB, free: 6.945 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.5427, allocations: 3.953 kB / 1.443 GB, free: 6.941 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.543, allocations: 129.3 kB / 1.443 GB, free: 6.809 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.543, allocations: 4 kB / 1.443 GB, free: 6.805 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.543, allocations: 0 / 1.443 GB, free: 6.805 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.543, allocations: 7.984 kB / 1.443 GB, free: 6.797 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.5432, allocations: 144.7 kB / 1.444 GB, free: 6.613 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5432, allocations: 3.984 kB / 1.444 GB, free: 6.609 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.5433, allocations: 27.94 kB / 1.444 GB, free: 6.582 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5433, allocations: 3.984 kB / 1.444 GB, free: 6.578 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.5433, allocations: 3.984 kB / 1.444 GB, free: 6.574 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.5433, allocations: 0 / 1.444 GB, free: 6.574 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5433, allocations: 4 kB / 1.444 GB, free: 6.57 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.5436, allocations: 162.8 kB / 1.444 GB, free: 6.395 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.5436, allocations: 16.03 kB / 1.444 GB, free: 6.379 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.5437, allocations: 3.984 kB / 1.444 GB, free: 6.375 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.5438, allocations: 8 kB / 1.444 GB, free: 6.367 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.5438, allocations: 15.92 kB / 1.444 GB, free: 6.352 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.5438, allocations: 7.984 kB / 1.444 GB, free: 6.344 MB / 1.139 GB Notification: Performance of sorting global known variables: time 3.569e-05/0.5439, allocations: 79.28 kB / 1.444 GB, free: 6.266 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5439, allocations: 0 / 1.444 GB, free: 6.266 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001641/0.5455, allocations: 0.5699 MB / 1.444 GB, free: 5.695 MB / 1.139 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.003839/0.5494, allocations: 0.9322 MB / 1.445 GB, free: 4.734 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001873/0.5496, allocations: 63.91 kB / 1.445 GB, free: 4.672 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.5496, allocations: 4 kB / 1.445 GB, free: 4.668 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.5496, allocations: 31.92 kB / 1.445 GB, free: 4.637 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.5498, allocations: 8 kB / 1.445 GB, free: 4.629 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.5523, allocations: 1.562 MB / 1.447 GB, free: 2.988 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.5526, allocations: 0.6885 MB / 1.448 GB, free: 2.273 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 8.899e-05/0.5527, allocations: 24.55 kB / 1.448 GB, free: 2.25 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.5527, allocations: 23.42 kB / 1.448 GB, free: 2.227 MB / 1.139 GB Notification: Performance of SimCode: time 5.71e-07/0.5527, allocations: 0 / 1.448 GB, free: 2.227 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06551/0.6182, allocations: 25.64 MB / 1.473 GB, free: 8.688 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.46, allocations: 8.375 kB / 1.473 GB, free: 8.684 MB / 1.17 GB " [Timeout remaining time 287] (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: 22.939510056981817] Failed to read output from testmodel.py, exit status != 0: 13.111920116934925 12.607628519 12.117786641 Calling exit ...