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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 107 kB / 16.41 MB, free: 6.504 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.00108/0.00108, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001981/0.001981, allocations: 296.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8945/0.8945, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 99.84 kB / 0.6822 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3678, allocations: 86.98 MB / 0.7671 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001847/0.3697, allocations: 0.7785 MB / 0.7679 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3714, allocations: 1.468 MB / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.3715, allocations: 3.938 kB / 0.7693 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.3715, allocations: 3.938 kB / 0.7693 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.554e-05/0.3715, allocations: 8 kB / 0.7693 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.372, allocations: 139.4 kB / 0.7695 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.093e-05/0.3721, allocations: 55.64 kB / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.3722, allocations: 4 kB / 0.7695 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.328e-05/0.3723, allocations: 35.91 kB / 0.7695 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.3723, allocations: 31.84 kB / 0.7696 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.806e-05/0.3723, allocations: 4 kB / 0.7696 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004302/0.3728, allocations: 323.3 kB / 0.7699 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.3728, allocations: 11.98 kB / 0.7699 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.3729, allocations: 27.84 kB / 0.7699 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.3731, allocations: 211.2 kB / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3732, allocations: 0 / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3732, allocations: 0 / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3732, allocations: 0 / 0.7701 GB, free: 0.6719 MB / 0.5294 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.0005989/0.3738, allocations: 402 kB / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.3738, allocations: 8.031 kB / 0.7705 GB, free: 232 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00045/0.3743, allocations: 76.75 kB / 0.7706 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3744, allocations: 172.2 kB / 0.7708 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.3744, allocations: 4.375 kB / 0.7708 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.3745, allocations: 8.375 kB / 0.7708 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003536/0.3748, allocations: 113.9 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.3748, allocations: 0 / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.3749, allocations: 4 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3749, allocations: 4 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.3753, allocations: 103.8 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005126/0.3759, allocations: 336.6 kB / 0.7713 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000627/0.3765, allocations: 162.3 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.3767, allocations: 56.81 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.3768, allocations: 4 kB / 0.7715 GB, free: 15.1 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.3768, allocations: 30.56 kB / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.3768, allocations: 0 / 0.7715 GB, free: 15.06 MB / 0.545 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.01757/0.3944, allocations: 2.833 MB / 0.7743 GB, free: 12.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.3944, allocations: 51.41 kB / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.89e-05/0.3945, allocations: 113.8 kB / 0.7745 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.018e-05/0.3945, allocations: 29.7 kB / 0.7745 GB, free: 11.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.86e-05/0.3946, allocations: 91.98 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.743e-05/0.3947, allocations: 35.45 kB / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3948, allocations: 69.58 kB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.041e-05/0.3949, allocations: 314.8 kB / 0.775 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006469/0.3956, allocations: 195.8 kB / 0.7752 GB, free: 11.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006362/0.3962, allocations: 191.8 kB / 0.7754 GB, free: 11.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.3975, allocations: 396.4 kB / 0.7757 GB, free: 10.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.3975, allocations: 0 / 0.7757 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001502/0.399, allocations: 477.3 kB / 0.7762 GB, free: 10.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.399, allocations: 8 kB / 0.7762 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3991, allocations: 0 / 0.7762 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3991, allocations: 3.984 kB / 0.7762 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008052/0.3999, allocations: 107.8 kB / 0.7763 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3999, allocations: 11.88 kB / 0.7763 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000604/0.4005, allocations: 43.94 kB / 0.7764 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.4006, allocations: 23.94 kB / 0.7764 GB, free: 9.957 MB / 0.545 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.000133/0.4007, allocations: 113.8 kB / 0.7765 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-05/0.4008, allocations: 7.906 kB / 0.7765 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.44e-05/0.4008, allocations: 15.95 kB / 0.7765 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.4008, allocations: 0 / 0.7765 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4009, allocations: 0 / 0.7765 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.401, allocations: 116.9 kB / 0.7766 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.747e-05/0.4011, allocations: 12 kB / 0.7766 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006659/0.4017, allocations: 43.92 kB / 0.7767 GB, free: 9.625 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/0.4018, allocations: 27.92 kB / 0.7767 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002114/0.404, allocations: 0.6096 MB / 0.7773 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002238/0.4062, allocations: 0.86 MB / 0.7781 GB, free: 8.105 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006474/0.4069, allocations: 207.9 kB / 0.7783 GB, free: 7.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.998e-05/0.4069, allocations: 87.22 kB / 0.7784 GB, free: 7.816 MB / 0.545 GB Notification: Performance of Backend: time 3.5e-07/0.4069, allocations: 0 / 0.7784 GB, free: 7.816 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.4081, allocations: 354.6 kB / 0.7788 GB, free: 7.465 MB / 0.545 GB Notification: Performance of SimCode: time 0.0005587/0.4087, allocations: 0.6321 MB / 0.7794 GB, free: 6.781 MB / 0.545 GB Notification: Performance of Templates: time 0.00934/0.418, allocations: 6.942 MB / 0.7862 GB, free: 15.84 MB / 0.5606 GB 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)