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.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.0007064/0.0007064, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009501/0.001656, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0009655/0.0009655, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001234/0.0022, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9511/0.9511, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09409/1.045, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.6477/0.6477, allocations: 119.1 MB / 363.1 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07056/0.7183, allocations: 37.87 MB / 400.9 MB, free: 13.73 MB / 394.7 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.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(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 1.353e-06/1.353e-06, allocations: 0 / 402.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.059e-05, allocations: 6.25 kB / 402.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001409/0.001429, allocations: 0.8269 MB / 403.1 MB, free: 11.52 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.002736, allocations: 1.505 MB / 404.6 MB, free: 10 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.658e-05/0.002762, allocations: 0 / 404.6 MB, free: 10 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.357e-05/0.002786, allocations: 3.938 kB / 404.6 MB, free: 9.996 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 1.935e-05/0.002805, allocations: 3.938 kB / 404.6 MB, free: 9.992 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.003087, allocations: 143.4 kB / 404.8 MB, free: 9.852 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 7.469e-05/0.003162, allocations: 47.89 kB / 404.8 MB, free: 9.805 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.222e-05/0.003194, allocations: 4 kB / 404.8 MB, free: 9.801 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.003294, allocations: 35.91 kB / 404.9 MB, free: 9.766 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.873e-05/0.003343, allocations: 27.95 kB / 404.9 MB, free: 9.738 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.003358, allocations: 8 kB / 404.9 MB, free: 9.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002731/0.003631, allocations: 263.4 kB / 405.2 MB, free: 9.473 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.366e-05/0.003645, allocations: 7.938 kB / 405.2 MB, free: 9.465 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.003665, allocations: 16 kB / 405.2 MB, free: 9.449 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.003877, allocations: 187.5 kB / 405.4 MB, free: 9.266 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.003891, allocations: 0 / 405.4 MB, free: 9.266 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003892, allocations: 0 / 405.4 MB, free: 9.266 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.003908, allocations: 0 / 405.4 MB, free: 9.266 MB / 394.7 MB 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.0004246/0.004332, allocations: 320 kB / 405.7 MB, free: 8.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004367, allocations: 8.031 kB / 405.7 MB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.004599, allocations: 142 kB / 405.8 MB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.073e-05/0.00468, allocations: 113.7 kB / 405.9 MB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.004698, allocations: 12.25 kB / 405.9 MB, free: 8.617 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.004716, allocations: 8.375 kB / 406 MB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.004891, allocations: 150.3 kB / 406.1 MB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.004899, allocations: 192 / 406.1 MB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.00491, allocations: 8.375 kB / 406.1 MB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.004916, allocations: 3.938 kB / 406.1 MB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.374e-05/0.004959, allocations: 19.98 kB / 406.1 MB, free: 8.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.005235, allocations: 208.1 kB / 406.3 MB, free: 8.191 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.005354, allocations: 66.53 kB / 406.4 MB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.912e-05/0.005373, allocations: 12.86 kB / 406.4 MB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.005385, allocations: 3.938 kB / 406.4 MB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.005407, allocations: 38.55 kB / 406.5 MB, free: 8.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.005408, allocations: 0 / 406.5 MB, free: 8.051 MB / 394.7 MB 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.007108/0.01252, allocations: 2.141 MB / 408.6 MB, free: 5.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.01254, allocations: 59.34 kB / 408.7 MB, free: 5.781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.166e-05/0.0126, allocations: 114.6 kB / 408.8 MB, free: 5.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.01263, allocations: 25.7 kB / 408.8 MB, free: 5.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.045e-05/0.01266, allocations: 96.08 kB / 408.9 MB, free: 5.527 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.0127, allocations: 39.64 kB / 408.9 MB, free: 5.488 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.3e-05/0.0128, allocations: 61.56 kB / 409 MB, free: 5.422 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.741e-05/0.01286, allocations: 318.8 kB / 409.3 MB, free: 5.102 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.01297, allocations: 104.1 kB / 409.4 MB, free: 5 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.01308, allocations: 95.92 kB / 409.5 MB, free: 4.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002343/0.01331, allocations: 220.9 kB / 409.7 MB, free: 4.688 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.01331, allocations: 0 / 409.7 MB, free: 4.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002891/0.0136, allocations: 249.5 kB / 410 MB, free: 4.438 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.01361, allocations: 4 kB / 410 MB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01362, allocations: 4 kB / 410 MB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.01363, allocations: 7.938 kB / 410 MB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/0.01399, allocations: 119.7 kB / 410.1 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-06/0.01399, allocations: 320 / 410.1 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.01419, allocations: 27.95 kB / 410.1 MB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.01422, allocations: 27.94 kB / 410.1 MB, free: 4.25 MB / 394.7 MB 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.000104/0.01432, allocations: 117.8 kB / 410.3 MB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.01437, allocations: 11.98 kB / 410.3 MB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.01441, allocations: 8.125 kB / 410.3 MB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01441, allocations: 0 / 410.3 MB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.01441, allocations: 0 / 410.3 MB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01442, allocations: 0 / 410.3 MB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.01495, allocations: 470.4 kB / 410.7 MB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01495, allocations: 4 kB / 410.7 MB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003537/0.01531, allocations: 123.7 kB / 410.9 MB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.01538, allocations: 23.91 kB / 410.9 MB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.01538, allocations: 0 / 410.9 MB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.0154, allocations: 23.92 kB / 410.9 MB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.01541, allocations: 11.92 kB / 410.9 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01541, allocations: 0 / 410.9 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.01589, allocations: 451.2 kB / 411.4 MB, free: 2.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.01593, allocations: 8 kB / 411.4 MB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.01615, allocations: 27.95 kB / 411.4 MB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/0.0162, allocations: 23.92 kB / 411.4 MB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.01623, allocations: 19.94 kB / 411.4 MB, free: 2.906 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.127e-05/0.01624, allocations: 12.84 kB / 411.4 MB, free: 2.891 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01625, allocations: 7.969 kB / 411.5 MB, free: 2.883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.01645, allocations: 51.94 kB / 411.5 MB, free: 2.832 MB / 394.7 MB 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.0001329/0.01658, allocations: 96.28 kB / 411.6 MB, free: 2.727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.01687, allocations: 233 kB / 411.8 MB, free: 2.496 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.01688, allocations: 0 / 411.8 MB, free: 2.496 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.01702, allocations: 144.6 kB / 412 MB, free: 2.352 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.01721, allocations: 67.75 kB / 412 MB, free: 2.285 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.01865, allocations: 0.5665 MB / 412.6 MB, free: 1.691 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.302e-05/0.01868, allocations: 63.34 kB / 412.7 MB, free: 1.609 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000289/0.01897, allocations: 88.73 kB / 412.7 MB, free: 1.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.01921, allocations: 95.23 kB / 412.8 MB, free: 1.43 MB / 394.7 MB Notification: Performance of SimCode: time 1.183e-06/0.01921, allocations: 4 kB / 412.8 MB, free: 1.426 MB / 394.7 MB Notification: Performance of Templates: time 0.004866/0.02408, allocations: 3.882 MB / 416.7 MB, free: 13.52 MB / 410.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.238316492177546]