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.0009901/0.0009902, allocations: 117.4 kB / 16.42 MB, free: 6.465 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.0009717/0.0009717, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.236/1.236, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002024/0.002024, allocations: 285.3 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8984/0.8984, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 95.86 kB / 0.6822 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3661, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001715/0.3678, allocations: 0.7745 MB / 0.7679 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.3694, allocations: 1.475 MB / 0.7693 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.738e-05/0.3694, allocations: 7.938 kB / 0.7693 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.3695, allocations: 3.938 kB / 0.7693 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.761e-05/0.3695, allocations: 3.938 kB / 0.7693 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.37, allocations: 143.4 kB / 0.7695 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.37, allocations: 47.72 kB / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.663e-05/0.3701, allocations: 4 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.3702, allocations: 31.92 kB / 0.7695 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.3702, allocations: 39.81 kB / 0.7696 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.3703, allocations: 4 kB / 0.7696 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004078/0.3707, allocations: 319.4 kB / 0.7699 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.3707, allocations: 11.98 kB / 0.7699 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.3707, allocations: 27.8 kB / 0.7699 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.371, allocations: 219.2 kB / 0.7701 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.371, allocations: 0 / 0.7701 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.062e-06/0.371, allocations: 0 / 0.7701 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.371, allocations: 0 / 0.7701 GB, free: 0.8047 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.0005874/0.3716, allocations: 402 kB / 0.7705 GB, free: 376 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.3717, allocations: 8.031 kB / 0.7705 GB, free: 368 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.3721, allocations: 72.75 kB / 0.7706 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.3722, allocations: 168.3 kB / 0.7708 GB, free: 88 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.3722, allocations: 4.375 kB / 0.7708 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.3723, allocations: 8.375 kB / 0.7708 GB, free: 76 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.3726, allocations: 117.9 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3727, allocations: 4 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.3727, allocations: 7.922 kB / 0.7709 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3727, allocations: 0 / 0.7709 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004582/0.3732, allocations: 99.91 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.3737, allocations: 328.6 kB / 0.7713 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.3743, allocations: 166.3 kB / 0.7715 GB, free: 15.3 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.3746, allocations: 56.8 kB / 0.7715 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.3746, allocations: 4 kB / 0.7715 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.3746, allocations: 34.72 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.3746, allocations: 0 / 0.7715 GB, free: 15.2 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.01751/0.3921, allocations: 2.84 MB / 0.7743 GB, free: 12.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.3922, allocations: 55.34 kB / 0.7744 GB, free: 12.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.183e-05/0.3922, allocations: 109.8 kB / 0.7745 GB, free: 12.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.3923, allocations: 29.7 kB / 0.7745 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.3923, allocations: 91.98 kB / 0.7746 GB, free: 11.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.3924, allocations: 35.45 kB / 0.7746 GB, free: 11.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.3926, allocations: 69.58 kB / 0.7747 GB, free: 11.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.3927, allocations: 318.8 kB / 0.775 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/0.3933, allocations: 187.8 kB / 0.7752 GB, free: 11.34 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/0.394, allocations: 191.8 kB / 0.7754 GB, free: 11.15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.3953, allocations: 400.5 kB / 0.7757 GB, free: 10.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.3953, allocations: 0 / 0.7757 GB, free: 10.76 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001497/0.3968, allocations: 481.3 kB / 0.7762 GB, free: 10.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.3968, allocations: 4 kB / 0.7762 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3968, allocations: 0 / 0.7762 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3969, allocations: 0 / 0.7762 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/0.3977, allocations: 107.8 kB / 0.7763 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.3977, allocations: 3.938 kB / 0.7763 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.3983, allocations: 43.94 kB / 0.7764 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.552e-05/0.3984, allocations: 31.92 kB / 0.7764 GB, free: 10.09 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.0001452/0.3985, allocations: 113.8 kB / 0.7765 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.152e-05/0.3986, allocations: 7.906 kB / 0.7765 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.3987, allocations: 7.969 kB / 0.7765 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3987, allocations: 0 / 0.7765 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3987, allocations: 0 / 0.7765 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.3988, allocations: 129 kB / 0.7766 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.003e-05/0.3989, allocations: 4 kB / 0.7766 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.3996, allocations: 47.94 kB / 0.7767 GB, free: 9.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.439e-05/0.3997, allocations: 27.91 kB / 0.7767 GB, free: 9.734 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002146/0.4018, allocations: 0.6057 MB / 0.7773 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002277/0.4041, allocations: 0.8676 MB / 0.7781 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006449/0.4048, allocations: 200.2 kB / 0.7783 GB, free: 8.043 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.4048, allocations: 87.2 kB / 0.7784 GB, free: 7.957 MB / 0.545 GB Notification: Performance of Backend: time 5.21e-07/0.4048, allocations: 4 kB / 0.7784 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.4061, allocations: 361.1 kB / 0.7788 GB, free: 7.598 MB / 0.545 GB Notification: Performance of SimCode: time 0.0006358/0.4068, allocations: 0.636 MB / 0.7794 GB, free: 6.91 MB / 0.545 GB Notification: Performance of Templates: time 0.008972/0.4158, allocations: 6.935 MB / 0.7862 GB, free: 15.97 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)