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.001495/0.001495, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001671/0.001671, allocations: 216.3 kB / 23.01 MB, free: 4.566 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.36/1.36, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.002414/0.002414, allocations: 286.5 kB / 313.5 MB, free: 2.773 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.159/1.159, allocations: 180.6 MB / 0.5377 GB, free: 12.96 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.00283/0.00283, allocations: 105.8 kB / 0.7408 GB, free: 28.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1684, allocations: 95.38 MB / 0.8339 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002424/0.1708, allocations: 1.293 MB / 0.8352 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1603/0.3311, allocations: 141 MB / 0.9729 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.3311, allocations: 0 / 0.9729 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.692e-05/0.3312, allocations: 3.984 kB / 0.9729 GB, free: 9.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.26e-05/0.3312, allocations: 3.938 kB / 0.9729 GB, free: 9.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.3326, allocations: 470.3 kB / 0.9733 GB, free: 8.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.682e-05/0.3327, allocations: 35.92 kB / 0.9734 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.309e-05/0.3327, allocations: 3.984 kB / 0.9734 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.846e-05/0.3327, allocations: 27.86 kB / 0.9734 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.311e-05/0.3328, allocations: 19.97 kB / 0.9734 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.3328, allocations: 0 / 0.9734 GB, free: 8.766 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.3344, allocations: 0.8388 MB / 0.9742 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.3344, allocations: 7.938 kB / 0.9742 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.3345, allocations: 23.91 kB / 0.9743 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006611/0.3351, allocations: 447 kB / 0.9747 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3351, allocations: 0 / 0.9747 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3351, allocations: 0 / 0.9747 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.3351, allocations: 4 kB / 0.9747 GB, free: 7.453 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.0005142/0.3357, allocations: 298.1 kB / 0.975 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.3357, allocations: 9.938 kB / 0.975 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.3359, allocations: 12.94 kB / 0.975 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.336, allocations: 110.5 kB / 0.9751 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.336, allocations: 384 / 0.9751 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.055e-05/0.336, allocations: 16.08 kB / 0.9751 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.3361, allocations: 49.67 kB / 0.9752 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.3361, allocations: 4 kB / 0.9752 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3362, allocations: 4 kB / 0.9752 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3362, allocations: 4 kB / 0.9752 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.077e-05/0.3362, allocations: 15.92 kB / 0.9752 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.3364, allocations: 136.7 kB / 0.9753 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.3365, allocations: 50.55 kB / 0.9754 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.3365, allocations: 20.8 kB / 0.9754 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.3474, allocations: 2.86 MB / 0.9782 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.3475, allocations: 34.55 kB / 0.9782 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.3475, allocations: 0 / 0.9782 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.3663/0.7138, allocations: 14.93 MB / 0.9928 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.7138, allocations: 53.77 kB / 0.9928 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.847e-05/0.7139, allocations: 91.91 kB / 0.9929 GB, free: 150.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.7139, allocations: 30.33 kB / 0.993 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.432e-05/0.7139, allocations: 81.23 kB / 0.993 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.714, allocations: 44.33 kB / 0.9931 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.19e-05/0.714, allocations: 29.75 kB / 0.9931 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.714, allocations: 326.4 kB / 0.9934 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4e-05/0.7141, allocations: 22.22 kB / 0.9934 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.918e-05/0.7141, allocations: 23.19 kB / 0.9935 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.7142, allocations: 58.48 kB / 0.9935 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.7142, allocations: 1.312 kB / 0.9935 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001931/0.7144, allocations: 105 kB / 0.9936 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.7144, allocations: 5.5 kB / 0.9936 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7145, allocations: 0.5625 kB / 0.9936 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.7145, allocations: 2.031 kB / 0.9936 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.7146, allocations: 32.56 kB / 0.9937 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.7146, allocations: 3.594 kB / 0.9937 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.425e-05/0.7146, allocations: 1.375 kB / 0.9937 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.7146, allocations: 6.766 kB / 0.9937 GB, free: 150.1 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 5.416e-05/0.7147, allocations: 117.2 kB / 0.9938 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.7147, allocations: 8.781 kB / 0.9938 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.7149, allocations: 131.9 kB / 0.9939 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.7149, allocations: 2.281 kB / 0.9939 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.715, allocations: 0 / 0.9939 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.715, allocations: 1.031 kB / 0.9939 GB, free: 149.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.7151, allocations: 149.5 kB / 0.9941 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.7151, allocations: 1.641 kB / 0.9941 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.7152, allocations: 26.64 kB / 0.9941 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.7152, allocations: 0 / 0.9941 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.7152, allocations: 6.281 kB / 0.9941 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7152, allocations: 4 kB / 0.9941 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7152, allocations: 5.219 kB / 0.9941 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.7154, allocations: 155 kB / 0.9943 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.7155, allocations: 14.75 kB / 0.9943 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.7155, allocations: 5.266 kB / 0.9943 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.7156, allocations: 13.95 kB / 0.9943 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.7157, allocations: 18.83 kB / 0.9943 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.7157, allocations: 3.891 kB / 0.9943 GB, free: 149.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.603e-05/0.7157, allocations: 76.53 kB / 0.9944 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.7157, allocations: 0 / 0.9944 GB, free: 149.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00175/0.7174, allocations: 0.5669 MB / 0.9949 GB, free: 149.6 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.002649/0.7201, allocations: 355.2 kB / 0.9953 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001612/0.7202, allocations: 64.2 kB / 0.9953 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7202, allocations: 0 / 0.9953 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.724e-05/0.7203, allocations: 35.47 kB / 0.9954 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.7205, allocations: 15.62 kB / 0.9954 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.721, allocations: 377 kB / 0.9957 GB, free: 149.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.115e-05/0.7211, allocations: 0.6848 MB / 0.9964 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.7211, allocations: 21.19 kB / 0.9964 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.7211, allocations: 0 / 0.9964 GB, free: 148.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.01741/0.7385, allocations: 14.43 MB / 1.011 GB, free: 136.9 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: 9.323921259958297] Failed to read output from testmodel.py, exit status != 0: 0.7451751949265599 0.754618795 0.41742225499999996 Calling exit ...