Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.278/2.278, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001295/0.001294, allocations: 175.3 kB / 326.3 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.361/2.361, allocations: 205.4 MB / 0.5772 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009064/0.0009061, allocations: 93.28 kB / 0.6817 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007309/0.0007311, allocations: 11.94 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2926, allocations: 106.3 MB / 0.8995 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001095/0.2937, allocations: 0.505 MB / 0.9 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.2959, allocations: 1.456 MB / 0.9014 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.296, allocations: 0 / 0.9014 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.296, allocations: 0 / 0.9014 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.2961, allocations: 0 / 0.9014 GB, free: 64 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.2967, allocations: 115.7 kB / 0.9015 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.258e-05/0.2968, allocations: 39.91 kB / 0.9016 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.2968, allocations: 4 kB / 0.9016 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.868e-05/0.2969, allocations: 27.91 kB / 0.9016 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.297, allocations: 31.89 kB / 0.9016 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.297, allocations: 4 kB / 0.9016 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006235/0.2977, allocations: 303.4 kB / 0.9019 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.2977, allocations: 19.92 kB / 0.9019 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.2977, allocations: 33.7 kB / 0.902 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.2981, allocations: 143.8 kB / 0.9021 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2981, allocations: 4 kB / 0.9021 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.664e-06/0.2981, allocations: 0 / 0.9021 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2981, allocations: 0 / 0.9021 GB, free: 63.28 MB / 0.6042 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.0007822/0.2989, allocations: 395.3 kB / 0.9025 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2989, allocations: 12.03 kB / 0.9025 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000746/0.2997, allocations: 88.69 kB / 0.9026 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.2998, allocations: 168.3 kB / 0.9028 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.2999, allocations: 8.375 kB / 0.9028 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/0.2999, allocations: 8.312 kB / 0.9028 GB, free: 62.53 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005744/0.3005, allocations: 125.9 kB / 0.9029 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3005, allocations: 0 / 0.9029 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.317e-05/0.3005, allocations: 4 kB / 0.9029 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3006, allocations: 4 kB / 0.9029 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009251/0.3015, allocations: 127.8 kB / 0.903 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.3023, allocations: 340.6 kB / 0.9033 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.3035, allocations: 182.4 kB / 0.9035 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004384/0.3039, allocations: 68.81 kB / 0.9036 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.304, allocations: 0 / 0.9036 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.304, allocations: 38.56 kB / 0.9036 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.364e-06/0.304, allocations: 0 / 0.9036 GB, free: 61.58 MB / 0.6042 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.03614/0.3402, allocations: 3.177 MB / 0.9067 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.3402, allocations: 55.41 kB / 0.9068 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.878e-05/0.3403, allocations: 105.8 kB / 0.9069 GB, free: 58.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.323e-05/0.3404, allocations: 25.7 kB / 0.9069 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.3405, allocations: 96.03 kB / 0.907 GB, free: 58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.542e-05/0.3406, allocations: 39.39 kB / 0.907 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.3407, allocations: 0 / 0.907 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.3407, allocations: 318.8 kB / 0.9073 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.342, allocations: 219.8 kB / 0.9075 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.3432, allocations: 221.2 kB / 0.9078 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.3445, allocations: 219.8 kB / 0.908 GB, free: 57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3445, allocations: 0 / 0.908 GB, free: 57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.002839/0.3474, allocations: 0.5147 MB / 0.9085 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3475, allocations: 4 kB / 0.9085 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3475, allocations: 0 / 0.9085 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.3475, allocations: 4 kB / 0.9085 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.3491, allocations: 119.8 kB / 0.9086 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.3492, allocations: 3.938 kB / 0.9086 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.3504, allocations: 59.88 kB / 0.9087 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-05/0.3506, allocations: 31.94 kB / 0.9087 GB, free: 56.26 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002134/0.3508, allocations: 113.8 kB / 0.9088 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.3509, allocations: 7.891 kB / 0.9088 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.202e-05/0.351, allocations: 11.97 kB / 0.9088 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.351, allocations: 0 / 0.9088 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.351, allocations: 0 / 0.9088 GB, free: 56.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.3512, allocations: 128.9 kB / 0.9089 GB, free: 55.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.3513, allocations: 8.125 kB / 0.9089 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.3527, allocations: 55.94 kB / 0.909 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.3528, allocations: 35.91 kB / 0.909 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004234/0.3571, allocations: 0.6682 MB / 0.9097 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004285/0.3614, allocations: 0.9473 MB / 0.9106 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001234/0.3627, allocations: 223.8 kB / 0.9108 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.146e-05/0.3627, allocations: 83.28 kB / 0.9109 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of Backend: time 6.61e-07/0.3628, allocations: 0 / 0.9109 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002082/0.3648, allocations: 378 kB / 0.9113 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0007657/0.3656, allocations: 0.668 MB / 0.9119 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of Templates: time 0.01358/0.3792, allocations: 6.499 MB / 0.9183 GB, free: 46.32 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)