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.001729/0.001729, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002158/0.002158, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.797 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.002574/0.002574, allocations: 288.6 kB / 312.7 MB, free: 2.617 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.237/1.237, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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: translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") translateModel(BuildingSystems.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck") [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.003004/0.003004, allocations: 101.7 kB / 0.74 GB, free: 27.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1967, allocations: 95.39 MB / 0.8331 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002379/0.199, allocations: 1.272 MB / 0.8343 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.22/0.4191, allocations: 120.9 MB / 0.9524 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.4191, allocations: 4 kB / 0.9524 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.4191, allocations: 0 / 0.9524 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 6.713e-05/0.4192, allocations: 7.938 kB / 0.9524 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.4213, allocations: 462.3 kB / 0.9529 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.4214, allocations: 39.89 kB / 0.9529 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.812e-05/0.4215, allocations: 0 / 0.9529 GB, free: 12.7 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.4215, allocations: 23.92 kB / 0.9529 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.4216, allocations: 23.91 kB / 0.953 GB, free: 12.65 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.4216, allocations: 4 kB / 0.953 GB, free: 12.64 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.424, allocations: 0.7958 MB / 0.9537 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 2.131e-05/0.4241, allocations: 8 kB / 0.9537 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.4241, allocations: 15.92 kB / 0.9538 GB, free: 11.82 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0009129/0.425, allocations: 447.1 kB / 0.9542 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.425, allocations: 0 / 0.9542 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.753e-06/0.425, allocations: 0 / 0.9542 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.425, allocations: 0 / 0.9542 GB, free: 11.39 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.0006709/0.4257, allocations: 302 kB / 0.9545 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4257, allocations: 9.344 kB / 0.9545 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.426, allocations: 8.938 kB / 0.9545 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.4262, allocations: 118.5 kB / 0.9546 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.4262, allocations: 384 / 0.9546 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/0.4262, allocations: 12.08 kB / 0.9546 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.4265, allocations: 130.8 kB / 0.9547 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.4265, allocations: 7.938 kB / 0.9547 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.4265, allocations: 0 / 0.9547 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4265, allocations: 0 / 0.9547 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.626e-05/0.4266, allocations: 15.98 kB / 0.9548 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.4268, allocations: 113.3 kB / 0.9549 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.427, allocations: 50.62 kB / 0.9549 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/0.4271, allocations: 13.02 kB / 0.9549 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01827/0.4453, allocations: 2.876 MB / 0.9577 GB, free: 7.625 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.044e-05/0.4454, allocations: 46.48 kB / 0.9578 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 2.816e-06/0.4454, allocations: 0 / 0.9578 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.06799/0.5134, allocations: 14.93 MB / 0.9724 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.5135, allocations: 51.41 kB / 0.9724 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.586e-05/0.5136, allocations: 101.8 kB / 0.9725 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.5136, allocations: 29.7 kB / 0.9725 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.5136, allocations: 80.14 kB / 0.9726 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.5137, allocations: 35.66 kB / 0.9726 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.5138, allocations: 37.7 kB / 0.9727 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.5139, allocations: 314.8 kB / 0.973 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.995e-05/0.514, allocations: 24 kB / 0.973 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/0.5141, allocations: 26.11 kB / 0.973 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.5142, allocations: 60.84 kB / 0.9731 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.5142, allocations: 3.938 kB / 0.9731 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002328/0.5144, allocations: 111.6 kB / 0.9732 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.5145, allocations: 10.12 kB / 0.9732 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.5145, allocations: 4 kB / 0.9732 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5145, allocations: 0 / 0.9732 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.5146, allocations: 27.98 kB / 0.9732 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5146, allocations: 4 kB / 0.9732 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.5146, allocations: 0 / 0.9732 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.5147, allocations: 8 kB / 0.9732 GB, free: 7.547 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 0.0001008/0.5148, allocations: 122.4 kB / 0.9734 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.5148, allocations: 3.938 kB / 0.9734 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002858/0.5151, allocations: 125.4 kB / 0.9735 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.5151, allocations: 0 / 0.9735 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5151, allocations: 4 kB / 0.9735 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5151, allocations: 0 / 0.9735 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.5152, allocations: 121.2 kB / 0.9736 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.5152, allocations: 0 / 0.9736 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.5154, allocations: 20 kB / 0.9736 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.5154, allocations: 4 kB / 0.9736 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.5154, allocations: 19.86 kB / 0.9736 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.5154, allocations: 3.938 kB / 0.9737 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5154, allocations: 0 / 0.9737 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.5157, allocations: 149 kB / 0.9738 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.5158, allocations: 19.97 kB / 0.9738 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.5158, allocations: 4 kB / 0.9738 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.5159, allocations: 12 kB / 0.9738 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.5159, allocations: 11.98 kB / 0.9738 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.516, allocations: 11.98 kB / 0.9739 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.302e-05/0.516, allocations: 75.28 kB / 0.9739 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.516, allocations: 0 / 0.9739 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001795/0.5178, allocations: 0.5622 MB / 0.9745 GB, free: 6.219 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.003201/0.521, allocations: 366.8 kB / 0.9748 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.5212, allocations: 55.97 kB / 0.9749 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5212, allocations: 0 / 0.9749 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.68e-05/0.5213, allocations: 36.25 kB / 0.9749 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.5215, allocations: 20.09 kB / 0.9749 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.5221, allocations: 342.4 kB / 0.9753 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.74e-05/0.5222, allocations: 79.19 kB / 0.9753 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.678e-05/0.5223, allocations: 20.55 kB / 0.9754 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.5223, allocations: 19.44 kB / 0.9754 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.5223, allocations: 0 / 0.9754 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of Templates: time 0.404/0.9264, allocations: 24.3 MB / 0.9991 GB, free: 137.7 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.67023447714746] Failed to read output from testmodel.py, exit status != 0: 0.933996606618166 0.943811494 0.5165233739999999 Calling exit ...