Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8883/0.8883, allocations: 143.4 MB / 159.2 MB, free: 4.875 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 180.5 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 110.1 kB / 0.517 GB, free: 3.707 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001822/0.001822, allocations: 284.9 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 91.86 kB / 0.6886 GB, free: 3.805 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3861, allocations: 81.28 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002024/0.3881, allocations: 0.8546 MB / 0.7688 GB, free: 26.82 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.3897, allocations: 1.489 MB / 0.7702 GB, free: 25.31 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.3898, allocations: 4 kB / 0.7702 GB, free: 25.31 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.3898, allocations: 0 / 0.7702 GB, free: 25.31 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 6.033e-05/0.3899, allocations: 7.938 kB / 0.7702 GB, free: 25.3 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.3903, allocations: 111.7 kB / 0.7703 GB, free: 25.19 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.3904, allocations: 51.91 kB / 0.7704 GB, free: 25.14 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.3904, allocations: 4 kB / 0.7704 GB, free: 25.14 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.971e-05/0.3905, allocations: 27.91 kB / 0.7704 GB, free: 25.11 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.962e-05/0.3906, allocations: 31.89 kB / 0.7704 GB, free: 25.08 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3906, allocations: 4 kB / 0.7705 GB, free: 25.07 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003563/0.391, allocations: 315.4 kB / 0.7708 GB, free: 24.77 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 2.02e-05/0.391, allocations: 15.92 kB / 0.7708 GB, free: 24.75 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 3.282e-05/0.391, allocations: 23.86 kB / 0.7708 GB, free: 24.73 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.3913, allocations: 206.3 kB / 0.771 GB, free: 24.53 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.3913, allocations: 7.984 kB / 0.771 GB, free: 24.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3913, allocations: 4 kB / 0.771 GB, free: 24.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.3913, allocations: 0 / 0.771 GB, free: 24.52 MB / 458.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.00059/0.3919, allocations: 395.3 kB / 0.7714 GB, free: 24.08 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.392, allocations: 15.97 kB / 0.7714 GB, free: 24.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004174/0.3924, allocations: 76.69 kB / 0.7715 GB, free: 23.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.3e-05/0.3925, allocations: 164.3 kB / 0.7716 GB, free: 23.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.3925, allocations: 8.375 kB / 0.7716 GB, free: 23.79 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.3926, allocations: 8.375 kB / 0.7716 GB, free: 23.78 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.3929, allocations: 113.9 kB / 0.7717 GB, free: 23.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3929, allocations: 4 kB / 0.7718 GB, free: 23.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.3929, allocations: 0 / 0.7718 GB, free: 23.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.393, allocations: 0 / 0.7718 GB, free: 23.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004414/0.3934, allocations: 111.8 kB / 0.7719 GB, free: 23.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.3939, allocations: 332.7 kB / 0.7722 GB, free: 23.17 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/0.3945, allocations: 158.4 kB / 0.7723 GB, free: 23.01 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.3948, allocations: 60.8 kB / 0.7724 GB, free: 22.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.3948, allocations: 0 / 0.7724 GB, free: 22.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.618e-05/0.3948, allocations: 34.56 kB / 0.7724 GB, free: 22.9 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 8.31e-07/0.3948, allocations: 0 / 0.7724 GB, free: 22.9 MB / 458.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.01654/0.4114, allocations: 2.834 MB / 0.7752 GB, free: 19.97 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.4114, allocations: 55.34 kB / 0.7752 GB, free: 19.91 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.98e-05/0.4115, allocations: 97.86 kB / 0.7753 GB, free: 19.8 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.4116, allocations: 33.69 kB / 0.7754 GB, free: 19.76 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.4116, allocations: 80.14 kB / 0.7754 GB, free: 19.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.494e-05/0.4117, allocations: 51.3 kB / 0.7755 GB, free: 19.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.4118, allocations: 61.58 kB / 0.7755 GB, free: 19.56 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.618e-05/0.4119, allocations: 322.8 kB / 0.7759 GB, free: 19.24 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006081/0.4125, allocations: 191.7 kB / 0.776 GB, free: 19.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.4131, allocations: 197.3 kB / 0.7762 GB, free: 18.86 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.4143, allocations: 395.3 kB / 0.7766 GB, free: 18.47 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4144, allocations: 0 / 0.7766 GB, free: 18.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001407/0.4158, allocations: 473.3 kB / 0.7771 GB, free: 18 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4158, allocations: 4 kB / 0.7771 GB, free: 18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.4158, allocations: 0 / 0.7771 GB, free: 18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.4158, allocations: 4 kB / 0.7771 GB, free: 18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007821/0.4166, allocations: 107.7 kB / 0.7772 GB, free: 17.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4167, allocations: 3.938 kB / 0.7772 GB, free: 17.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005801/0.4172, allocations: 47.94 kB / 0.7772 GB, free: 17.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.233e-05/0.4173, allocations: 27.92 kB / 0.7772 GB, free: 17.81 MB / 458.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.0001156/0.4174, allocations: 113.8 kB / 0.7773 GB, free: 17.69 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.505e-05/0.4175, allocations: 7.906 kB / 0.7774 GB, free: 17.68 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.192e-05/0.4176, allocations: 16.06 kB / 0.7774 GB, free: 17.67 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4176, allocations: 3.938 kB / 0.7774 GB, free: 17.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.4176, allocations: 3.938 kB / 0.7774 GB, free: 17.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4176, allocations: 3.938 kB / 0.7774 GB, free: 17.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.4195, allocations: 1.047 MB / 0.7784 GB, free: 16.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4195, allocations: 8 kB / 0.7784 GB, free: 16.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007552/0.4203, allocations: 99.8 kB / 0.7785 GB, free: 16.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.217e-06/0.4203, allocations: 7.938 kB / 0.7785 GB, free: 16.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.4204, allocations: 23.94 kB / 0.7785 GB, free: 16.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.4204, allocations: 5 kB / 0.7785 GB, free: 16.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4204, allocations: 4 kB / 0.7785 GB, free: 16.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02235/0.4427, allocations: 3.686 MB / 0.7821 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.4429, allocations: 117.1 kB / 0.7823 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.089e-05/0.443, allocations: 4 kB / 0.7823 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.4436, allocations: 47.88 kB / 0.7823 GB, free: 12.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.4437, allocations: 27.92 kB / 0.7823 GB, free: 12.32 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.4438, allocations: 35.92 kB / 0.7824 GB, free: 12.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.916e-05/0.4438, allocations: 75.28 kB / 0.7824 GB, free: 12.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4438, allocations: 4 kB / 0.7824 GB, free: 12.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004199/0.4443, allocations: 52 kB / 0.7825 GB, free: 12.15 MB / 458.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.0002012/0.4445, allocations: 119.7 kB / 0.7826 GB, free: 12.03 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001329/0.4458, allocations: 427.7 kB / 0.783 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4458, allocations: 0 / 0.783 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006612/0.4465, allocations: 223.7 kB / 0.7832 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.4469, allocations: 9.875 kB / 0.7832 GB, free: 11.38 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004044/0.4509, allocations: 0.9201 MB / 0.7841 GB, free: 10.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001442/0.4511, allocations: 0.6965 MB / 0.7848 GB, free: 9.691 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00063/0.4517, allocations: 84.67 kB / 0.7849 GB, free: 9.609 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.452, allocations: 63.3 kB / 0.785 GB, free: 9.547 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/0.452, allocations: 0 / 0.785 GB, free: 9.547 MB / 458.7 MB Notification: Performance of Templates: time 0.005282/0.4573, allocations: 3.479 MB / 0.7884 GB, free: 6.07 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)