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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008038/0.0008042, allocations: 85.84 kB / 16.66 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009925/0.0009926, allocations: 184.4 kB / 17.58 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 241.6 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7102/0.7102, allocations: 115.5 MB / 408.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.0003152, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3586, allocations: 77.52 MB / 0.5606 GB, free: 36.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0009031/0.3595, allocations: 0.4974 MB / 0.5611 GB, free: 36.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.3612, allocations: 1.473 MB / 0.5625 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.3612, allocations: 2.188 kB / 0.5625 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.861e-05/0.3613, allocations: 0.6562 kB / 0.5625 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.269e-05/0.3613, allocations: 5.188 kB / 0.5625 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.3618, allocations: 116.3 kB / 0.5626 GB, free: 34.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.91e-05/0.3619, allocations: 45.58 kB / 0.5627 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.926e-05/0.3619, allocations: 9.828 kB / 0.5627 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.185e-05/0.362, allocations: 23.16 kB / 0.5627 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.491e-05/0.3621, allocations: 35.84 kB / 0.5627 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.3621, allocations: 4.219 kB / 0.5627 GB, free: 34.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.3626, allocations: 311.5 kB / 0.563 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.3626, allocations: 21.66 kB / 0.5631 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.819e-05/0.3627, allocations: 49.11 kB / 0.5631 GB, free: 34.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.3629, allocations: 145.2 kB / 0.5633 GB, free: 34.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3629, allocations: 3.125 kB / 0.5633 GB, free: 34.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3629, allocations: 0 / 0.5633 GB, free: 34.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.3629, allocations: 0 / 0.5633 GB, free: 34.68 MB / 446.1 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.000567/0.3635, allocations: 392.5 kB / 0.5636 GB, free: 34.29 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3635, allocations: 12.34 kB / 0.5636 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004955/0.364, allocations: 87.69 kB / 0.5637 GB, free: 34.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.401e-05/0.3641, allocations: 166.8 kB / 0.5639 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.3642, allocations: 8 kB / 0.5639 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.3642, allocations: 8.938 kB / 0.5639 GB, free: 34.08 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.3646, allocations: 126.2 kB / 0.564 GB, free: 34.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3646, allocations: 4.562 kB / 0.564 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.3647, allocations: 5.953 kB / 0.564 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3647, allocations: 1.875 kB / 0.564 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005606/0.3652, allocations: 131.8 kB / 0.5642 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.3658, allocations: 337 kB / 0.5645 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007273/0.3666, allocations: 186.9 kB / 0.5647 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002722/0.3668, allocations: 64.23 kB / 0.5647 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3669, allocations: 6.094 kB / 0.5647 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.3669, allocations: 36.94 kB / 0.5648 GB, free: 33.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3669, allocations: 0 / 0.5648 GB, free: 33.61 MB / 446.1 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.02033/0.3872, allocations: 3.175 MB / 0.5679 GB, free: 32.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.3873, allocations: 65.09 kB / 0.5679 GB, free: 32.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.3874, allocations: 101 kB / 0.568 GB, free: 32.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.3874, allocations: 27.17 kB / 0.568 GB, free: 32.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.019e-05/0.3875, allocations: 90.55 kB / 0.5681 GB, free: 32.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.679e-05/0.3875, allocations: 43.53 kB / 0.5682 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.603e-05/0.3876, allocations: 18.5 kB / 0.5682 GB, free: 32.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.3877, allocations: 319.5 kB / 0.5685 GB, free: 32.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007241/0.3884, allocations: 218.9 kB / 0.5687 GB, free: 32.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000715/0.3891, allocations: 220.2 kB / 0.5689 GB, free: 32.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.3906, allocations: 439.3 kB / 0.5693 GB, free: 31.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3906, allocations: 0.9375 kB / 0.5693 GB, free: 31.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001683/0.3923, allocations: 0.522 MB / 0.5698 GB, free: 31.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3923, allocations: 5.359 kB / 0.5698 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3923, allocations: 1.406 kB / 0.5699 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3923, allocations: 1.656 kB / 0.5699 GB, free: 31.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009254/0.3932, allocations: 122.3 kB / 0.57 GB, free: 31.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3933, allocations: 7.938 kB / 0.57 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.3939, allocations: 62.17 kB / 0.57 GB, free: 31.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.394, allocations: 28.19 kB / 0.5701 GB, free: 31.76 MB / 446.1 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.0001392/0.3942, allocations: 114 kB / 0.5702 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.3942, allocations: 6.312 kB / 0.5702 GB, free: 31.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.3943, allocations: 14.14 kB / 0.5702 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3943, allocations: 2.125 kB / 0.5702 GB, free: 31.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3943, allocations: 5.031 kB / 0.5702 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3943, allocations: 4.547 kB / 0.5702 GB, free: 31.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.3965, allocations: 1.1 MB / 0.5713 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3965, allocations: 0 / 0.5713 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008955/0.3974, allocations: 117.9 kB / 0.5714 GB, free: 30.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3975, allocations: 9.094 kB / 0.5714 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/0.3975, allocations: 22.78 kB / 0.5714 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3975, allocations: 1.125 kB / 0.5714 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3975, allocations: 0.7031 kB / 0.5714 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/0.4, allocations: 0.8702 MB / 0.5723 GB, free: 30.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.4001, allocations: 117.9 kB / 0.5724 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/0.4002, allocations: 5.922 kB / 0.5724 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007184/0.4009, allocations: 62.97 kB / 0.5724 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.401, allocations: 27.08 kB / 0.5725 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.357e-05/0.4011, allocations: 23.36 kB / 0.5725 GB, free: 30.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.089e-05/0.4012, allocations: 83.98 kB / 0.5726 GB, free: 30.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4012, allocations: 4 kB / 0.5726 GB, free: 30.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004034/0.4016, allocations: 51.72 kB / 0.5726 GB, free: 30.4 MB / 446.1 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.0001955/0.4018, allocations: 114 kB / 0.5727 GB, free: 30.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.4033, allocations: 478.7 kB / 0.5732 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4033, allocations: 0 / 0.5732 GB, free: 30.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007684/0.4041, allocations: 253.3 kB / 0.5734 GB, free: 30.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.4045, allocations: 13.88 kB / 0.5734 GB, free: 30.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/0.4091, allocations: 0.9042 MB / 0.5743 GB, free: 29.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.4092, allocations: 0.6956 MB / 0.575 GB, free: 29.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/0.4097, allocations: 76.92 kB / 0.5751 GB, free: 29.14 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4097, allocations: 0 / 0.5751 GB, free: 29.14 MB / 446.1 MB Notification: Performance of Templates: time 0.006657/0.4163, allocations: 3.791 MB / 0.5788 GB, free: 27.76 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (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)