Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002094/0.002094, allocations: 108.5 kB / 16.46 MB, free: 6.508 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.001867/0.001867, allocations: 199.8 kB / 19.41 MB, free: 3.664 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.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.107/3.107, allocations: 497.2 MB / 0.7811 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 68.88 kB / 1.134 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3667, allocations: 173.9 MB / 1.304 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002453/0.3691, allocations: 1.277 MB / 1.305 GB, free: 296 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1683/0.5374, allocations: 138.1 MB / 1.44 GB, free: 5.66 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.5375, allocations: 0 / 1.44 GB, free: 5.66 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 2.643e-05/0.5375, allocations: 7.875 kB / 1.44 GB, free: 5.652 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 5.326e-05/0.5375, allocations: 7.969 kB / 1.44 GB, free: 5.645 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.5389, allocations: 454.6 kB / 1.44 GB, free: 5.199 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.178e-05/0.539, allocations: 43.83 kB / 1.441 GB, free: 5.156 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 4.546e-05/0.539, allocations: 12 kB / 1.441 GB, free: 5.145 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.208e-05/0.539, allocations: 15.92 kB / 1.441 GB, free: 5.129 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.5391, allocations: 23.91 kB / 1.441 GB, free: 5.105 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.5391, allocations: 4 kB / 1.441 GB, free: 5.102 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001433/0.5406, allocations: 0.8271 MB / 1.441 GB, free: 4.273 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.5406, allocations: 11.98 kB / 1.441 GB, free: 4.262 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.5406, allocations: 15.92 kB / 1.441 GB, free: 4.246 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0006197/0.5412, allocations: 447 kB / 1.442 GB, free: 3.809 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.5412, allocations: 0 / 1.442 GB, free: 3.809 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5412, allocations: 0 / 1.442 GB, free: 3.809 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.5413, allocations: 0 / 1.442 GB, free: 3.809 MB / 1.139 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.0005162/0.5418, allocations: 371.2 kB / 1.442 GB, free: 3.398 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.5418, allocations: 12.62 kB / 1.442 GB, free: 3.387 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.019e-05/0.5419, allocations: 42.73 kB / 1.442 GB, free: 3.336 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.542, allocations: 12.89 kB / 1.442 GB, free: 3.324 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.5421, allocations: 160.4 kB / 1.442 GB, free: 3.129 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.5422, allocations: 384 / 1.442 GB, free: 3.129 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.5422, allocations: 15.92 kB / 1.442 GB, free: 3.113 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.5423, allocations: 49.67 kB / 1.442 GB, free: 3.059 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5423, allocations: 7.938 kB / 1.442 GB, free: 3.051 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.5424, allocations: 4 kB / 1.442 GB, free: 3.047 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.5424, allocations: 0 / 1.442 GB, free: 3.047 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.493e-05/0.5424, allocations: 23.97 kB / 1.442 GB, free: 3.023 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001882/0.5426, allocations: 161.7 kB / 1.443 GB, free: 2.816 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.5427, allocations: 50.48 kB / 1.443 GB, free: 2.758 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.5428, allocations: 20.84 kB / 1.443 GB, free: 2.734 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01062/0.5534, allocations: 3.197 MB / 1.446 GB, free: 15.44 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.5534, allocations: 46.5 kB / 1.446 GB, free: 15.39 MB / 1.154 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.5534, allocations: 0 / 1.446 GB, free: 15.39 MB / 1.154 GB Notification: Performance of matching and sorting (n=11): time 0.03912/0.5925, allocations: 14.99 MB / 1.461 GB, free: 244 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.5926, allocations: 55.34 kB / 1.461 GB, free: 176 kB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.5927, allocations: 93.86 kB / 1.461 GB, free: 72 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.5927, allocations: 33.7 kB / 1.461 GB, free: 32 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.5928, allocations: 80.14 kB / 1.461 GB, free: 15.95 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.5928, allocations: 43.62 kB / 1.461 GB, free: 15.91 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.5929, allocations: 45.64 kB / 1.461 GB, free: 15.86 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.593, allocations: 314.8 kB / 1.461 GB, free: 15.54 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.473e-05/0.593, allocations: 23.98 kB / 1.461 GB, free: 15.52 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.689e-05/0.5931, allocations: 28.11 kB / 1.461 GB, free: 15.49 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.5932, allocations: 56.86 kB / 1.461 GB, free: 15.43 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.5932, allocations: 3.938 kB / 1.461 GB, free: 15.43 MB / 1.17 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002192/0.5934, allocations: 105.4 kB / 1.461 GB, free: 15.32 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5935, allocations: 8 kB / 1.461 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5935, allocations: 0 / 1.461 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.5935, allocations: 0 / 1.461 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.5936, allocations: 27.98 kB / 1.461 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.5936, allocations: 0 / 1.461 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.5936, allocations: 0 / 1.461 GB, free: 15.29 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.5936, allocations: 12 kB / 1.461 GB, free: 15.27 MB / 1.17 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.114e-05/0.5937, allocations: 125.7 kB / 1.462 GB, free: 15.14 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.5938, allocations: 4 kB / 1.462 GB, free: 15.14 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.5941, allocations: 121.5 kB / 1.462 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5941, allocations: 4 kB / 1.462 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5941, allocations: 4 kB / 1.462 GB, free: 15 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.5941, allocations: 3.984 kB / 1.462 GB, free: 14.99 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.5942, allocations: 173.6 kB / 1.462 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.5942, allocations: 0 / 1.462 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.5944, allocations: 27.94 kB / 1.462 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5944, allocations: 0 / 1.462 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.5944, allocations: 11.92 kB / 1.462 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5944, allocations: 0 / 1.462 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5944, allocations: 0 / 1.462 GB, free: 14.73 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.5947, allocations: 157 kB / 1.462 GB, free: 14.56 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.308e-05/0.5948, allocations: 97.08 kB / 1.462 GB, free: 14.45 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.5948, allocations: 0 / 1.462 GB, free: 14.45 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.5949, allocations: 8 kB / 1.462 GB, free: 14.44 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.359e-05/0.595, allocations: 11.98 kB / 1.462 GB, free: 14.43 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.595, allocations: 4 kB / 1.462 GB, free: 14.43 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.595, allocations: 83.22 kB / 1.462 GB, free: 14.34 MB / 1.17 GB Notification: Performance of sort global known variables: time 8.1e-08/0.595, allocations: 0 / 1.462 GB, free: 14.34 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001891/0.5969, allocations: 0.5699 MB / 1.463 GB, free: 13.77 MB / 1.17 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.003327/0.6002, allocations: 0.9483 MB / 1.464 GB, free: 12.8 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.6004, allocations: 55.92 kB / 1.464 GB, free: 12.74 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6004, allocations: 0 / 1.464 GB, free: 12.74 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 6.331e-05/0.6005, allocations: 35.92 kB / 1.464 GB, free: 12.71 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.6007, allocations: 18.17 kB / 1.464 GB, free: 12.69 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.6031, allocations: 1.543 MB / 1.465 GB, free: 11.07 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.6034, allocations: 0.6851 MB / 1.466 GB, free: 10.36 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 9.073e-05/0.6035, allocations: 28.53 kB / 1.466 GB, free: 10.33 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.6035, allocations: 19.44 kB / 1.466 GB, free: 10.31 MB / 1.17 GB Notification: Performance of SimCode: time 1.483e-06/0.6035, allocations: 0 / 1.466 GB, free: 10.31 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05951/0.6631, allocations: 25.46 MB / 1.491 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.834/9.497, allocations: 8.641 kB / 1.491 GB, free: 0.8984 MB / 1.186 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-10 Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.815388053189963] Failed to read output from testmodel.py, exit status != 0: 9.574688012711704 9.590410477 9.045951636 Calling exit ...