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.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.001341/0.001341, allocations: 112 kB / 16.46 MB, free: 6.035 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.001445/0.001445, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.443/1.443, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002437/0.002437, allocations: 285.6 kB / 303 MB, free: 9.504 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.337/1.337, allocations: 180.9 MB / 0.5261 GB, free: 14.59 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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: Performance of FrontEnd - loaded program: time 0.003058/0.003058, allocations: 97.66 kB / 0.7247 GB, free: 40 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1857, allocations: 94.16 MB / 0.8167 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002776/0.1885, allocations: 1.271 MB / 0.8179 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1748/0.3632, allocations: 138.1 MB / 0.9528 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.3633, allocations: 0 / 0.9528 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.3633, allocations: 3.938 kB / 0.9528 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 6.278e-05/0.3634, allocations: 3.938 kB / 0.9528 GB, free: 9.559 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.3648, allocations: 474.3 kB / 0.9532 GB, free: 9.094 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.099e-05/0.3649, allocations: 39.84 kB / 0.9533 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.535e-05/0.3649, allocations: 0 / 0.9533 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.009e-05/0.3649, allocations: 23.97 kB / 0.9533 GB, free: 9.031 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.365, allocations: 19.92 kB / 0.9533 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.365, allocations: 0 / 0.9533 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.3665, allocations: 0.8309 MB / 0.9541 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.814e-05/0.3666, allocations: 11.98 kB / 0.9541 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.3666, allocations: 15.92 kB / 0.9542 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0005953/0.3672, allocations: 451.3 kB / 0.9546 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3672, allocations: 0 / 0.9546 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3672, allocations: 0 / 0.9546 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3672, allocations: 0 / 0.9546 GB, free: 7.711 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.0005276/0.3677, allocations: 375.2 kB / 0.9549 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.3678, allocations: 12.03 kB / 0.955 GB, free: 7.285 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/0.3678, allocations: 30.75 kB / 0.955 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/0.368, allocations: 12.92 kB / 0.955 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3681, allocations: 168.3 kB / 0.9552 GB, free: 7.031 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.3681, allocations: 16.25 kB / 0.9552 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.3682, allocations: 7.938 kB / 0.9552 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3683, allocations: 53.67 kB / 0.9552 GB, free: 6.949 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.3683, allocations: 4 kB / 0.9552 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.3684, allocations: 3.984 kB / 0.9552 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.3684, allocations: 0 / 0.9552 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.564e-05/0.3684, allocations: 19.98 kB / 0.9553 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002163/0.3687, allocations: 169.6 kB / 0.9554 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3688, allocations: 54.44 kB / 0.9555 GB, free: 6.645 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.3688, allocations: 8.859 kB / 0.9555 GB, free: 6.633 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01113/0.3799, allocations: 3.213 MB / 0.9586 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.38, allocations: 30.56 kB / 0.9586 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 2.815e-06/0.38, allocations: 0 / 0.9586 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.04171/0.4217, allocations: 15 MB / 0.9733 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.4217, allocations: 55.41 kB / 0.9733 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.989e-05/0.4218, allocations: 89.86 kB / 0.9734 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.4218, allocations: 29.7 kB / 0.9735 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.4219, allocations: 84.14 kB / 0.9735 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.4219, allocations: 43.58 kB / 0.9736 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.446e-05/0.422, allocations: 33.7 kB / 0.9736 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4221, allocations: 322.9 kB / 0.9739 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.4221, allocations: 19.98 kB / 0.9739 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.704e-05/0.4222, allocations: 30.06 kB / 0.974 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.4223, allocations: 56.84 kB / 0.974 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4223, allocations: 0 / 0.974 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002258/0.4226, allocations: 112.9 kB / 0.9741 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4226, allocations: 8 kB / 0.9741 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4226, allocations: 0 / 0.9741 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4226, allocations: 0 / 0.9741 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.4227, allocations: 27.92 kB / 0.9742 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4227, allocations: 4 kB / 0.9742 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.726e-05/0.4227, allocations: 4 kB / 0.9742 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.4227, allocations: 4 kB / 0.9742 GB, free: 3.172 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 8.814e-05/0.4228, allocations: 117.8 kB / 0.9743 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.548e-05/0.4229, allocations: 7.953 kB / 0.9743 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.4232, allocations: 129.5 kB / 0.9744 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4232, allocations: 4 kB / 0.9744 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4232, allocations: 0 / 0.9744 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4232, allocations: 0 / 0.9744 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.4233, allocations: 185.5 kB / 0.9746 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4233, allocations: 0 / 0.9746 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.4235, allocations: 23.98 kB / 0.9746 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4235, allocations: 0 / 0.9746 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4235, allocations: 8 kB / 0.9746 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4235, allocations: 0 / 0.9746 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4235, allocations: 0 / 0.9746 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.4238, allocations: 164.9 kB / 0.9748 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.834e-05/0.4239, allocations: 85.14 kB / 0.9749 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.4239, allocations: 0 / 0.9749 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.424, allocations: 15.98 kB / 0.9749 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.424, allocations: 7.984 kB / 0.9749 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.4241, allocations: 12 kB / 0.9749 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.111e-05/0.4241, allocations: 75.28 kB / 0.975 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.4241, allocations: 0 / 0.975 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001625/0.4257, allocations: 0.566 MB / 0.9755 GB, free: 1.68 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.003382/0.4291, allocations: 0.944 MB / 0.9765 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.4293, allocations: 55.98 kB / 0.9765 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4293, allocations: 4 kB / 0.9765 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.523e-05/0.4294, allocations: 35.86 kB / 0.9765 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.4296, allocations: 10.23 kB / 0.9766 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.4318, allocations: 1.556 MB / 0.9781 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003202/0.4321, allocations: 0.6812 MB / 0.9787 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.664e-05/0.4322, allocations: 33.02 kB / 0.9788 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.4323, allocations: 19.44 kB / 0.9788 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of SimCode: time 8.12e-07/0.4323, allocations: 0 / 0.9788 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06305/0.4953, allocations: 25.49 MB / 1.004 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.91/9.406, allocations: 14.64 kB / 1.004 GB, free: 4.797 MB / 0.7481 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.813894582912326] Failed to read output from testmodel.py, exit status != 0: 9.485461296979338 9.843197371 9.472998695 Calling exit ...