Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.001256/0.001256, allocations: 121.2 kB / 17.81 MB, free: 5.246 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.001278/0.001278, allocations: 189.5 kB / 20.74 MB, free: 2.316 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.381/1.381, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.849/0.849, allocations: 128.4 MB / 432.4 MB, free: 13.21 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 63.89 kB / 0.5988 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4073, allocations: 83.26 MB / 0.6801 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001904/0.4092, allocations: 0.7828 MB / 0.6808 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.411, allocations: 1.491 MB / 0.6823 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.19e-05/0.411, allocations: 0 / 0.6823 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.4111, allocations: 3.938 kB / 0.6823 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.548e-05/0.4111, allocations: 5.312 kB / 0.6823 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.4116, allocations: 145.5 kB / 0.6824 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.889e-05/0.4117, allocations: 46.88 kB / 0.6825 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.674e-05/0.4118, allocations: 2.75 kB / 0.6825 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.411e-05/0.4118, allocations: 31.03 kB / 0.6825 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.4119, allocations: 38.48 kB / 0.6826 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.4119, allocations: 3.969 kB / 0.6826 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.4123, allocations: 318.8 kB / 0.6829 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.043e-05/0.4124, allocations: 14.14 kB / 0.6829 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.16e-05/0.4124, allocations: 26.33 kB / 0.6829 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.4127, allocations: 215.6 kB / 0.6831 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4127, allocations: 0 / 0.6831 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4127, allocations: 1.094 kB / 0.6831 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.4127, allocations: 0 / 0.6831 GB, free: 4.895 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006097/0.4133, allocations: 402.3 kB / 0.6835 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.4134, allocations: 8.594 kB / 0.6835 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004576/0.4138, allocations: 77.7 kB / 0.6836 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.958e-05/0.4139, allocations: 166.3 kB / 0.6837 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.414, allocations: 11.41 kB / 0.6837 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.414, allocations: 9.5 kB / 0.6838 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003585/0.4143, allocations: 109.4 kB / 0.6839 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.4144, allocations: 1.312 kB / 0.6839 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.4144, allocations: 5.188 kB / 0.6839 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4144, allocations: 1.188 kB / 0.6839 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.4149, allocations: 94.81 kB / 0.684 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005008/0.4154, allocations: 345.3 kB / 0.6843 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/0.416, allocations: 151.3 kB / 0.6844 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.4162, allocations: 60.39 kB / 0.6845 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.89e-05/0.4162, allocations: 1.094 kB / 0.6845 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.4163, allocations: 31.69 kB / 0.6845 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.4163, allocations: 1.062 kB / 0.6845 GB, free: 3.629 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01781/0.4341, allocations: 2.846 MB / 0.6873 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.4341, allocations: 56.62 kB / 0.6874 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.66e-05/0.4342, allocations: 106.6 kB / 0.6875 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.4342, allocations: 26.7 kB / 0.6875 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.044e-05/0.4342, allocations: 87.25 kB / 0.6876 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.4343, allocations: 43.05 kB / 0.6876 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.4345, allocations: 69.23 kB / 0.6877 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.4345, allocations: 317.4 kB / 0.688 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.4352, allocations: 191.9 kB / 0.6882 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006407/0.4358, allocations: 194 kB / 0.6883 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.4371, allocations: 393.2 kB / 0.6887 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4371, allocations: 0 / 0.6887 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00159/0.4387, allocations: 472.6 kB / 0.6892 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.4387, allocations: 6.656 kB / 0.6892 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4388, allocations: 4 kB / 0.6892 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.4388, allocations: 4 kB / 0.6892 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.4396, allocations: 105.7 kB / 0.6893 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.4396, allocations: 5.031 kB / 0.6893 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005775/0.4402, allocations: 46.72 kB / 0.6893 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.419e-05/0.4402, allocations: 25.95 kB / 0.6894 GB, free: 496 kB / 0.4981 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 (13): * Single equations (assignments): 13 * 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.000148/0.4404, allocations: 116.1 kB / 0.6895 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-05/0.4405, allocations: 15.77 kB / 0.6895 GB, free: 360 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.4405, allocations: 9.188 kB / 0.6895 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4405, allocations: 1.312 kB / 0.6895 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4405, allocations: 7.875 kB / 0.6895 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4405, allocations: 5.328 kB / 0.6895 GB, free: 340 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.443, allocations: 1.036 MB / 0.6905 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.443, allocations: 5.781 kB / 0.6905 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00084/0.4438, allocations: 103.9 kB / 0.6906 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.4438, allocations: 5.125 kB / 0.6906 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/0.4439, allocations: 28.36 kB / 0.6907 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.4439, allocations: 5.156 kB / 0.6907 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.4439, allocations: 0 / 0.6907 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.4464, allocations: 0.7866 MB / 0.6914 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000176/0.4466, allocations: 123.2 kB / 0.6915 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/0.4466, allocations: 5.281 kB / 0.6916 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006693/0.4473, allocations: 42.97 kB / 0.6916 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.4474, allocations: 30.33 kB / 0.6916 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.138e-05/0.4475, allocations: 26.19 kB / 0.6916 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.96e-05/0.4476, allocations: 79.31 kB / 0.6917 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4476, allocations: 3.938 kB / 0.6917 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004162/0.448, allocations: 58.27 kB / 0.6918 GB, free: 14.59 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (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.0002523/0.4482, allocations: 108.6 kB / 0.6919 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001598/0.4498, allocations: 428.5 kB / 0.6923 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.4498, allocations: 0 / 0.6923 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007683/0.4506, allocations: 227.9 kB / 0.6925 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.451, allocations: 11.38 kB / 0.6925 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/0.4555, allocations: 0.7784 MB / 0.6933 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.4558, allocations: 0.6912 MB / 0.694 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004331/0.4563, allocations: 76.55 kB / 0.694 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.4563, allocations: 0 / 0.694 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of Templates: time 0.007408/0.4637, allocations: 3.792 MB / 0.6977 GB, free: 10.84 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.833419894101098] Failed to read output from testmodel.py, exit status != 0: 0.4719784250482917 0.485790245 0.070209565 Calling exit ...