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.0008331/0.0008332, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 185 kB / 16.92 MB, free: 6.773 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.498/1.498, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7043/0.7043, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005039/0.000504, allocations: 15.98 kB / 495.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1871, allocations: 77.53 MB / 0.56 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0011/0.1882, allocations: 0.4977 MB / 0.5604 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1903, allocations: 1.478 MB / 0.5619 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.1903, allocations: 0 / 0.5619 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.717e-05/0.1904, allocations: 3.938 kB / 0.5619 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.1904, allocations: 0 / 0.5619 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.1909, allocations: 111.7 kB / 0.562 GB, free: 6.906 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.348e-05/0.191, allocations: 51.89 kB / 0.562 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.1911, allocations: 0 / 0.562 GB, free: 6.855 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.912e-05/0.1912, allocations: 27.91 kB / 0.5621 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.271e-05/0.1912, allocations: 35.89 kB / 0.5621 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.1913, allocations: 4 kB / 0.5621 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/0.1917, allocations: 319.3 kB / 0.5624 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.338e-05/0.1918, allocations: 19.91 kB / 0.5624 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.181e-05/0.1918, allocations: 53.56 kB / 0.5625 GB, free: 6.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.1922, allocations: 195.6 kB / 0.5627 GB, free: 6.207 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1922, allocations: 3.938 kB / 0.5627 GB, free: 6.203 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1922, allocations: 0 / 0.5627 GB, free: 6.203 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1922, allocations: 0 / 0.5627 GB, free: 6.203 MB / 430.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.0006755/0.1929, allocations: 399.7 kB / 0.5631 GB, free: 5.766 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1929, allocations: 12.03 kB / 0.5631 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004833/0.1934, allocations: 84.75 kB / 0.5631 GB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1935, allocations: 168.3 kB / 0.5633 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.1936, allocations: 384 / 0.5633 GB, free: 5.469 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.1936, allocations: 12.38 kB / 0.5633 GB, free: 5.457 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.194, allocations: 125.8 kB / 0.5634 GB, free: 5.328 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.1941, allocations: 3.938 kB / 0.5634 GB, free: 5.324 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.1941, allocations: 4 kB / 0.5634 GB, free: 5.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.844e-06/0.1941, allocations: 4 kB / 0.5635 GB, free: 5.316 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.1946, allocations: 123.9 kB / 0.5636 GB, free: 5.195 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006776/0.1953, allocations: 340.7 kB / 0.5639 GB, free: 4.812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.1961, allocations: 186.4 kB / 0.5641 GB, free: 4.621 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.1964, allocations: 68.81 kB / 0.5641 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1964, allocations: 0 / 0.5641 GB, free: 4.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1964, allocations: 30.56 kB / 0.5642 GB, free: 4.512 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.379e-05/0.1964, allocations: 3.984 kB / 0.5642 GB, free: 4.508 MB / 430.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.02012/0.2166, allocations: 3.195 MB / 0.5673 GB, free: 1.219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.2167, allocations: 59.28 kB / 0.5673 GB, free: 1.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2168, allocations: 101.9 kB / 0.5674 GB, free: 1.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.447e-05/0.2169, allocations: 29.7 kB / 0.5675 GB, free: 1.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.2169, allocations: 92.06 kB / 0.5676 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.66e-05/0.217, allocations: 35.38 kB / 0.5676 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.478e-05/0.2171, allocations: 21.7 kB / 0.5676 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2172, allocations: 314.8 kB / 0.5679 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007421/0.218, allocations: 215.8 kB / 0.5681 GB, free: 328 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/0.2187, allocations: 215.8 kB / 0.5683 GB, free: 112 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.2202, allocations: 451.7 kB / 0.5688 GB, free: 15.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2202, allocations: 0 / 0.5688 GB, free: 15.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001702/0.2219, allocations: 0.5208 MB / 0.5693 GB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2219, allocations: 4 kB / 0.5693 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.222, allocations: 0 / 0.5693 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.222, allocations: 0 / 0.5693 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009177/0.2229, allocations: 123.7 kB / 0.5694 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.2229, allocations: 7.938 kB / 0.5694 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006918/0.2236, allocations: 55.94 kB / 0.5694 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.2237, allocations: 23.94 kB / 0.5695 GB, free: 14.93 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.0001791/0.2239, allocations: 117.8 kB / 0.5696 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.299e-05/0.224, allocations: 7.906 kB / 0.5696 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.844e-05/0.224, allocations: 11.95 kB / 0.5696 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.224, allocations: 4 kB / 0.5696 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.2241, allocations: 3.938 kB / 0.5696 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2241, allocations: 3.938 kB / 0.5696 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002479/0.2266, allocations: 1.094 MB / 0.5707 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2266, allocations: 4.031 kB / 0.5707 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000904/0.2275, allocations: 131.7 kB / 0.5708 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.2275, allocations: 3.938 kB / 0.5708 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.688e-05/0.2276, allocations: 19.94 kB / 0.5708 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.2276, allocations: 7.938 kB / 0.5708 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.2276, allocations: 0 / 0.5708 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.2303, allocations: 0.8684 MB / 0.5717 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.2305, allocations: 117 kB / 0.5718 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/0.2305, allocations: 0 / 0.5718 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007509/0.2313, allocations: 60 kB / 0.5719 GB, free: 12.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.2314, allocations: 31.92 kB / 0.5719 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.2315, allocations: 23.92 kB / 0.5719 GB, free: 12.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.088e-05/0.2316, allocations: 83.22 kB / 0.572 GB, free: 12.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2316, allocations: 0 / 0.572 GB, free: 12.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004165/0.232, allocations: 56 kB / 0.572 GB, free: 12.14 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.0002743/0.2323, allocations: 119.2 kB / 0.5722 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.2339, allocations: 467.5 kB / 0.5726 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2339, allocations: 0 / 0.5726 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008025/0.2347, allocations: 251.7 kB / 0.5728 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.2352, allocations: 8 kB / 0.5729 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004594/0.2398, allocations: 0.8773 MB / 0.5737 GB, free: 10.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2401, allocations: 0.6926 MB / 0.5744 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00069/0.2408, allocations: 92.84 kB / 0.5745 GB, free: 9.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002614/0.241, allocations: 55.3 kB / 0.5745 GB, free: 9.535 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.241, allocations: 0 / 0.5745 GB, free: 9.535 MB / 446.1 MB Notification: Performance of Templates: time 0.007948/0.249, allocations: 3.328 MB / 0.5778 GB, free: 6.219 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)