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.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.001553/0.001553, allocations: 109.2 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.002155/0.002155, allocations: 219.4 kB / 22.26 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.551/1.551, allocations: 230.6 MB / 256 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002668/0.002668, allocations: 294.7 kB / 312.7 MB, free: 2.797 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.275/1.275, allocations: 180.6 MB / 0.5369 GB, free: 12.9 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(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: NcDataReader2 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: BuildingSystems 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.004096/0.004096, allocations: 99.78 kB / 0.7396 GB, free: 28.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2203, allocations: 95.39 MB / 0.8327 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.003042/0.2234, allocations: 1.296 MB / 0.834 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1849/0.4083, allocations: 141 MB / 0.9716 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.4083, allocations: 0 / 0.9716 GB, free: 9.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.4084, allocations: 3.938 kB / 0.9717 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.269e-05/0.4084, allocations: 0 / 0.9717 GB, free: 9.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.41, allocations: 474.5 kB / 0.9721 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.4102, allocations: 43.83 kB / 0.9721 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.4102, allocations: 0 / 0.9721 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.093e-05/0.4103, allocations: 23.92 kB / 0.9722 GB, free: 9.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.221e-05/0.4103, allocations: 19.97 kB / 0.9722 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.4104, allocations: 0 / 0.9722 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.4121, allocations: 0.8387 MB / 0.973 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.4121, allocations: 11.92 kB / 0.973 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.4122, allocations: 19.92 kB / 0.973 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007637/0.4129, allocations: 443.1 kB / 0.9735 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4129, allocations: 0 / 0.9735 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.072e-06/0.4129, allocations: 4 kB / 0.9735 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.4129, allocations: 0 / 0.9735 GB, free: 7.961 MB / 0.7169 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.0005672/0.4135, allocations: 306.1 kB / 0.9738 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4135, allocations: 9.344 kB / 0.9738 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.4136, allocations: 34.75 kB / 0.9738 GB, free: 7.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.4138, allocations: 8.938 kB / 0.9738 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.4139, allocations: 110.5 kB / 0.9739 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.4139, allocations: 12.31 kB / 0.9739 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.4139, allocations: 7.938 kB / 0.9739 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.4141, allocations: 53.69 kB / 0.974 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.4141, allocations: 3.984 kB / 0.974 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4141, allocations: 0 / 0.974 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4141, allocations: 0 / 0.974 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.991e-05/0.4142, allocations: 23.97 kB / 0.974 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.4144, allocations: 132.8 kB / 0.9741 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.4145, allocations: 54.44 kB / 0.9742 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/0.4145, allocations: 16.84 kB / 0.9742 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.4259, allocations: 2.856 MB / 0.977 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.906e-05/0.4259, allocations: 38.56 kB / 0.977 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/0.4259, allocations: 0 / 0.977 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.4353/0.8613, allocations: 14.92 MB / 0.9916 GB, free: 150.9 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.8613, allocations: 52.56 kB / 0.9916 GB, free: 150.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.136e-05/0.8614, allocations: 95.72 kB / 0.9917 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.8614, allocations: 27.73 kB / 0.9918 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.176e-05/0.8614, allocations: 83.19 kB / 0.9918 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.8615, allocations: 44.36 kB / 0.9919 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.8616, allocations: 37.72 kB / 0.9919 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.8616, allocations: 321.9 kB / 0.9922 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.659e-05/0.8617, allocations: 19.98 kB / 0.9922 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.8618, allocations: 27.69 kB / 0.9923 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.8619, allocations: 64.14 kB / 0.9923 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.8619, allocations: 0 / 0.9923 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002258/0.8621, allocations: 99.77 kB / 0.9924 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.8621, allocations: 6.297 kB / 0.9924 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8622, allocations: 0 / 0.9924 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.8622, allocations: 5.375 kB / 0.9924 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.8623, allocations: 27.92 kB / 0.9925 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.8623, allocations: 2.031 kB / 0.9925 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.8623, allocations: 7.25 kB / 0.9925 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.8624, allocations: 4.641 kB / 0.9925 GB, free: 150.2 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.449e-05/0.8624, allocations: 120.1 kB / 0.9926 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.8625, allocations: 7.312 kB / 0.9926 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.8628, allocations: 127.2 kB / 0.9927 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8628, allocations: 1.375 kB / 0.9927 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8628, allocations: 1.375 kB / 0.9927 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.8628, allocations: 0.6562 kB / 0.9927 GB, free: 150 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.8629, allocations: 150.4 kB / 0.9929 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.863, allocations: 0.6562 kB / 0.9929 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.8631, allocations: 25.02 kB / 0.9929 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.8631, allocations: 1.375 kB / 0.9929 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.8631, allocations: 5.359 kB / 0.9929 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.8631, allocations: 5.375 kB / 0.9929 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8631, allocations: 0.7969 kB / 0.9929 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.8634, allocations: 162.2 kB / 0.9931 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.587e-05/0.8635, allocations: 14.73 kB / 0.9931 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.8635, allocations: 5.984 kB / 0.9931 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.8636, allocations: 21.41 kB / 0.9931 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.044e-05/0.8637, allocations: 7.859 kB / 0.9931 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.8637, allocations: 7.469 kB / 0.9931 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.377e-05/0.8637, allocations: 76.66 kB / 0.9932 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.8637, allocations: 0 / 0.9932 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003005/0.8667, allocations: 0.568 MB / 0.9937 GB, free: 149.7 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.004061/0.8708, allocations: 0.9431 MB / 0.9947 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.871, allocations: 63.91 kB / 0.9947 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.871, allocations: 0 / 0.9947 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.791e-05/0.8711, allocations: 34.03 kB / 0.9948 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.8713, allocations: 11.5 kB / 0.9948 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002212/0.8735, allocations: 1.55 MB / 0.9963 GB, free: 147.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/0.8736, allocations: 0.687 MB / 0.997 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.95e-05/0.8737, allocations: 23.77 kB / 0.997 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.251e-05/0.8738, allocations: 22.92 kB / 0.997 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of SimCode: time 7.21e-07/0.8738, allocations: 4 kB / 0.997 GB, free: 147.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05958/0.9333, allocations: 25.67 MB / 1.022 GB, free: 124.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.95, allocations: 8.062 kB / 1.022 GB, free: 124.4 MB / 0.7169 GB " [Timeout remaining time 647] (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: 21.131880331784487] Failed to read output from testmodel.py, exit status != 0: 13.068003505002707 13.081475788 12.666060006 Calling exit ...