Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.001157/0.001157, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009472/0.0009472, allocations: 177.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.9744/0.9744, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.786/1.786, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|y_comp",fileNamePrefix="Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.414e-05/3.632e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.00276/0.002797, allocations: 1.313 MB / 0.9835 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.003807, allocations: 0.5995 MB / 0.9841 GB, free: 148 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.625e-05/0.003833, allocations: 0 / 0.9841 GB, free: 148 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.415e-05/0.003857, allocations: 3.984 kB / 0.9841 GB, free: 144 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.97e-05/0.003907, allocations: 4 kB / 0.9841 GB, free: 140 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005427/0.00445, allocations: 115.3 kB / 0.9842 GB, free: 24 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.013e-05/0.00452, allocations: 23.86 kB / 0.9842 GB, free: 0 / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 6.303e-05/0.004583, allocations: 4.047 kB / 0.9842 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.004624, allocations: 15.94 kB / 0.9842 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.646e-05/0.0047, allocations: 11.97 kB / 0.9843 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.004716, allocations: 0 / 0.9843 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.004967, allocations: 139.7 kB / 0.9844 GB, free: 15.83 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.698e-05/0.004984, allocations: 8 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.005006, allocations: 8 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.00523, allocations: 115.7 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.005233, allocations: 0 / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.462e-06/0.005234, allocations: 0 / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.00524, allocations: 0 / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004554/0.005695, allocations: 278.1 kB / 0.9848 GB, free: 15.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.005739, allocations: 8.031 kB / 0.9848 GB, free: 15.39 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/0.006054, allocations: 36.89 kB / 0.9848 GB, free: 15.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.299e-05/0.006137, allocations: 109.7 kB / 0.9849 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.006151, allocations: 8.375 kB / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.006176, allocations: 384 / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.006318, allocations: 83.86 kB / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.006325, allocations: 192 / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.006338, allocations: 384 / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.006342, allocations: 384 / 0.985 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.7e-05/0.006419, allocations: 35.91 kB / 0.985 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/0.006547, allocations: 117.2 kB / 0.9852 GB, free: 14.94 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.006767, allocations: 62.58 kB / 0.9852 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.711e-05/0.006814, allocations: 28.86 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.006836, allocations: 8 kB / 0.9853 GB, free: 14.83 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.006855, allocations: 34.56 kB / 0.9853 GB, free: 14.79 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.006856, allocations: 3.938 kB / 0.9853 GB, free: 14.79 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.001688/0.008543, allocations: 0.4968 MB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.00858, allocations: 55.34 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.51e-05/0.008635, allocations: 97.86 kB / 0.9859 GB, free: 14.08 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.008649, allocations: 29.83 kB / 0.986 GB, free: 14.05 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.536e-05/0.008675, allocations: 84.14 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.008708, allocations: 23.84 kB / 0.9861 GB, free: 13.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.008753, allocations: 25.7 kB / 0.9861 GB, free: 13.91 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/0.008837, allocations: 310.8 kB / 0.9864 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.008923, allocations: 39.94 kB / 0.9864 GB, free: 13.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.008993, allocations: 39.97 kB / 0.9865 GB, free: 13.52 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.009156, allocations: 88.75 kB / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.009158, allocations: 0 / 0.9865 GB, free: 13.43 MB / 0.948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002103/0.009368, allocations: 121.6 kB / 0.9867 GB, free: 13.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.009385, allocations: 8 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.009392, allocations: 0 / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.009407, allocations: 0 / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.009516, allocations: 23.97 kB / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.009524, allocations: 3.938 kB / 0.9867 GB, free: 13.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.575e-05/0.009579, allocations: 4 kB / 0.9867 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.009592, allocations: 7.984 kB / 0.9867 GB, free: 13.25 MB / 0.948 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 (7): * Single equations (assignments): 7 * 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 6.805e-05/0.00966, allocations: 113.8 kB / 0.9868 GB, free: 13.13 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.67e-05/0.009676, allocations: 8 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/0.009725, allocations: 8.125 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.009728, allocations: 4 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.009733, allocations: 4 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.009738, allocations: 11.92 kB / 0.9868 GB, free: 13.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.875e-05/0.009837, allocations: 135.5 kB / 0.987 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009838, allocations: 3.938 kB / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.466e-05/0.009933, allocations: 23.97 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.009935, allocations: 0 / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.009946, allocations: 4 kB / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.009947, allocations: 0 / 0.987 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.00995, allocations: 3.984 kB / 0.987 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.01027, allocations: 197.1 kB / 0.9872 GB, free: 12.69 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-06/0.01028, allocations: 7.984 kB / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.0103, allocations: 0 / 0.9872 GB, free: 12.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.01037, allocations: 15.98 kB / 0.9872 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.01038, allocations: 0 / 0.9872 GB, free: 12.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.01039, allocations: 11.92 kB / 0.9872 GB, free: 12.66 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.338e-05/0.01042, allocations: 79.34 kB / 0.9873 GB, free: 12.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01042, allocations: 0 / 0.9873 GB, free: 12.58 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001799/0.0106, allocations: 39.86 kB / 0.9873 GB, free: 12.54 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (6): * Single equations (assignments): 6 * 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.0001831/0.01078, allocations: 127.1 kB / 0.9875 GB, free: 12.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.01098, allocations: 92 kB / 0.9875 GB, free: 12.31 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01098, allocations: 3.938 kB / 0.9876 GB, free: 12.31 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.925e-05/0.01105, allocations: 35.97 kB / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.01125, allocations: 11.98 kB / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.01166, allocations: 174.6 kB / 0.9878 GB, free: 12.06 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.865e-05/0.0117, allocations: 67.28 kB / 0.9878 GB, free: 11.97 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.01177, allocations: 24.47 kB / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of SimCode: time 4.71e-07/0.01177, allocations: 0 / 0.9879 GB, free: 11.95 MB / 0.948 GB Notification: Performance of Templates: time 0.002654/0.01442, allocations: 1.607 MB / 0.9894 GB, free: 10.35 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & ./Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 6.978568162769079] Failed to read output from testmodel.py, exit status != 0: 0.020730515010654926 0.028233549 0.021293912 Calling exit ...