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.001397/0.001397, allocations: 104.3 kB / 19.7 MB, free: 2.086 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.001712/0.001712, allocations: 215.1 kB / 22.99 MB, free: 4.906 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.66/1.66, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.032/1.032, allocations: 149.9 MB / 463 MB, free: 10.41 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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: IBPSA 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.003614/0.003614, allocations: 66.11 kB / 0.6416 GB, free: 9.66 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2551, allocations: 89.18 MB / 0.7287 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002759/0.2579, allocations: 0.7623 MB / 0.7294 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.2606, allocations: 1.451 MB / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.2606, allocations: 0 / 0.7308 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.2607, allocations: 3.938 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.608e-05/0.2607, allocations: 3.938 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008221/0.2615, allocations: 151.4 kB / 0.731 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.2617, allocations: 51.84 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.594e-05/0.2618, allocations: 4 kB / 0.731 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.2619, allocations: 27.92 kB / 0.7311 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.262, allocations: 35.88 kB / 0.7311 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.262, allocations: 4 kB / 0.7311 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.2627, allocations: 251.5 kB / 0.7313 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.2627, allocations: 15.94 kB / 0.7314 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.411e-05/0.2627, allocations: 15.92 kB / 0.7314 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.2632, allocations: 203.4 kB / 0.7316 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.2632, allocations: 4 kB / 0.7316 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2632, allocations: 0 / 0.7316 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.2632, allocations: 0 / 0.7316 GB, free: 13.57 MB / 0.5606 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.0007176/0.264, allocations: 333.7 kB / 0.7319 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.264, allocations: 12.03 kB / 0.7319 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000455/0.2644, allocations: 72.8 kB / 0.732 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.2646, allocations: 114.4 kB / 0.7321 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.2646, allocations: 4.375 kB / 0.7321 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.2647, allocations: 16.33 kB / 0.7321 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004258/0.2651, allocations: 161.3 kB / 0.7323 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2651, allocations: 4 kB / 0.7323 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.2651, allocations: 0 / 0.7323 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.2651, allocations: 0 / 0.7323 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.2656, allocations: 107.9 kB / 0.7324 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005585/0.2662, allocations: 268.3 kB / 0.7326 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.2668, allocations: 150.4 kB / 0.7328 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.2671, allocations: 56.81 kB / 0.7328 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2671, allocations: 0 / 0.7328 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.2671, allocations: 38.5 kB / 0.7329 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 7.82e-07/0.2671, allocations: 0 / 0.7329 GB, free: 12.14 MB / 0.5606 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.01753/0.2846, allocations: 2.691 MB / 0.7355 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.2847, allocations: 55.39 kB / 0.7355 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2848, allocations: 101.8 kB / 0.7356 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/0.2849, allocations: 33.7 kB / 0.7357 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.2849, allocations: 92.02 kB / 0.7358 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.053e-05/0.285, allocations: 39.66 kB / 0.7358 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.2852, allocations: 69.58 kB / 0.7359 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.2853, allocations: 318.8 kB / 0.7362 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.286, allocations: 191.8 kB / 0.7363 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006883/0.2867, allocations: 191.8 kB / 0.7365 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.2881, allocations: 392.5 kB / 0.7369 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2881, allocations: 0 / 0.7369 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001551/0.2896, allocations: 481.3 kB / 0.7374 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.2896, allocations: 7.984 kB / 0.7374 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2896, allocations: 0 / 0.7374 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.2897, allocations: 0 / 0.7374 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008166/0.2905, allocations: 111.8 kB / 0.7375 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.2905, allocations: 4 kB / 0.7375 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/0.2911, allocations: 43.88 kB / 0.7375 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.2912, allocations: 24.12 kB / 0.7375 GB, free: 7.223 MB / 0.5606 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.000164/0.2913, allocations: 121.9 kB / 0.7377 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.279e-05/0.2914, allocations: 7.938 kB / 0.7377 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.917e-05/0.2915, allocations: 23.97 kB / 0.7377 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2915, allocations: 0 / 0.7377 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2915, allocations: 0 / 0.7377 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.2915, allocations: 3.938 kB / 0.7377 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.2938, allocations: 0.9682 MB / 0.7386 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.2938, allocations: 0 / 0.7386 GB, free: 6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008052/0.2946, allocations: 103.8 kB / 0.7387 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.2946, allocations: 0 / 0.7387 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-05/0.2947, allocations: 23.92 kB / 0.7388 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.2947, allocations: 7.938 kB / 0.7388 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2947, allocations: 0 / 0.7388 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.2971, allocations: 0.7878 MB / 0.7395 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.2973, allocations: 43.86 kB / 0.7396 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.435e-05/0.2973, allocations: 4.062 kB / 0.7396 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006545/0.298, allocations: 51.88 kB / 0.7396 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.034e-05/0.2981, allocations: 23.92 kB / 0.7397 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.078e-05/0.2981, allocations: 23.94 kB / 0.7397 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.285e-05/0.2982, allocations: 87.27 kB / 0.7398 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2982, allocations: 4 kB / 0.7398 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004217/0.2986, allocations: 51.94 kB / 0.7398 GB, free: 4.777 MB / 0.5606 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.0002302/0.2989, allocations: 110.8 kB / 0.7399 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001493/0.3004, allocations: 423.4 kB / 0.7403 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.3004, allocations: 0 / 0.7403 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007162/0.3011, allocations: 219.7 kB / 0.7405 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.3015, allocations: 10.92 kB / 0.7405 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004188/0.3056, allocations: 0.7556 MB / 0.7413 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.845e-05/0.3057, allocations: 75.33 kB / 0.7414 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005322/0.3063, allocations: 92.67 kB / 0.7414 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.3065, allocations: 59.3 kB / 0.7415 GB, free: 3 MB / 0.5606 GB Notification: Performance of SimCode: time 8.62e-07/0.3065, allocations: 0 / 0.7415 GB, free: 3 MB / 0.5606 GB Notification: Performance of Templates: time 0.008877/0.3154, allocations: 3.708 MB / 0.7451 GB, free: 15.31 MB / 0.5762 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 sys.exit(0), Time elapsed: 6.398369088768959] Failed to read output from testmodel.py, exit status != 0: 0.32798856124281883 0.35310433799999996 0.08463430300000001 Calling exit ...