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.001244/0.001244, allocations: 109.5 kB / 16.41 MB, free: 6.512 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.001259/0.001259, allocations: 188 kB / 17.34 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00251/0.00251, allocations: 286.4 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.9871/0.9871, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002623/0.002623, allocations: 103.8 kB / 0.6822 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4377, allocations: 86.96 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002153/0.4399, allocations: 0.7862 MB / 0.7679 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.442, allocations: 1.483 MB / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.937e-05/0.442, allocations: 0 / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.4421, allocations: 7.938 kB / 0.7693 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.4421, allocations: 3.938 kB / 0.7693 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005284/0.4426, allocations: 143.4 kB / 0.7695 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.4428, allocations: 51.66 kB / 0.7695 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.232e-05/0.4428, allocations: 4 kB / 0.7695 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.159e-05/0.4429, allocations: 27.92 kB / 0.7695 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.006e-05/0.443, allocations: 43.81 kB / 0.7696 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.443, allocations: 4 kB / 0.7696 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004552/0.4434, allocations: 315.4 kB / 0.7699 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.437e-05/0.4435, allocations: 15.97 kB / 0.7699 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.4435, allocations: 23.86 kB / 0.7699 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003372/0.4438, allocations: 217 kB / 0.7701 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4438, allocations: 0 / 0.7701 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4438, allocations: 0 / 0.7701 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.4438, allocations: 0 / 0.7701 GB, free: 0.8125 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.0006844/0.4445, allocations: 406.9 kB / 0.7705 GB, free: 376 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.4446, allocations: 12.03 kB / 0.7705 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004644/0.445, allocations: 72.8 kB / 0.7706 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.4452, allocations: 168.3 kB / 0.7708 GB, free: 84 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.4452, allocations: 4.375 kB / 0.7708 GB, free: 80 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.4452, allocations: 12.33 kB / 0.7708 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/0.4456, allocations: 109.9 kB / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4456, allocations: 0 / 0.7709 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.126e-05/0.4456, allocations: 11.98 kB / 0.7709 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.4456, allocations: 0 / 0.7709 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004968/0.4461, allocations: 99.91 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.4467, allocations: 332.6 kB / 0.7713 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006688/0.4474, allocations: 150.5 kB / 0.7715 GB, free: 15.31 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000255/0.4477, allocations: 56.8 kB / 0.7715 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.4477, allocations: 7.938 kB / 0.7715 GB, free: 15.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.4477, allocations: 34.56 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4477, 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.019/0.4667, allocations: 2.844 MB / 0.7743 GB, free: 12.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.4667, allocations: 59.44 kB / 0.7744 GB, free: 12.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.4668, allocations: 105.8 kB / 0.7745 GB, free: 12.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.543e-05/0.4669, allocations: 29.7 kB / 0.7745 GB, free: 12.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.4669, allocations: 84.14 kB / 0.7746 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/0.467, allocations: 47.58 kB / 0.7746 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.4672, allocations: 69.58 kB / 0.7747 GB, free: 11.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.4673, allocations: 314.8 kB / 0.775 GB, free: 11.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007125/0.468, allocations: 195.9 kB / 0.7752 GB, free: 11.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006928/0.4687, allocations: 195.8 kB / 0.7754 GB, free: 11.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.4702, allocations: 395.2 kB / 0.7758 GB, free: 10.75 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4702, allocations: 0 / 0.7758 GB, free: 10.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001673/0.4718, allocations: 477.2 kB / 0.7762 GB, free: 10.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.4718, allocations: 6.5 kB / 0.7762 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4719, allocations: 0 / 0.7762 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.4719, allocations: 4 kB / 0.7762 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008831/0.4728, allocations: 111.8 kB / 0.7763 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4728, allocations: 3.938 kB / 0.7763 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006441/0.4734, allocations: 51.88 kB / 0.7764 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.4735, allocations: 23.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.0001691/0.4736, allocations: 117.8 kB / 0.7765 GB, free: 9.961 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.4737, allocations: 4 kB / 0.7765 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/0.4738, allocations: 7.969 kB / 0.7765 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.4738, allocations: 0 / 0.7765 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.4738, allocations: 7.938 kB / 0.7765 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.4738, allocations: 0 / 0.7765 GB, free: 9.941 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.4762, allocations: 1.051 MB / 0.7776 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4762, allocations: 0 / 0.7776 GB, free: 8.777 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008694/0.4771, allocations: 103.8 kB / 0.7777 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.4771, allocations: 7.938 kB / 0.7777 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.4771, allocations: 27.92 kB / 0.7777 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4771, allocations: 0 / 0.7777 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4771, allocations: 0 / 0.7777 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.4796, allocations: 0.7956 MB / 0.7785 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.4798, allocations: 121 kB / 0.7786 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.4798, allocations: 4 kB / 0.7786 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/0.4805, allocations: 44 kB / 0.7786 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4806, allocations: 27.92 kB / 0.7787 GB, free: 7.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.4807, allocations: 27.94 kB / 0.7787 GB, free: 7.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.097e-05/0.4808, allocations: 75.28 kB / 0.7788 GB, free: 7.516 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4808, allocations: 4 kB / 0.7788 GB, free: 7.512 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003817/0.4812, allocations: 51.98 kB / 0.7788 GB, free: 7.461 MB / 0.545 GB 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.0002254/0.4814, allocations: 115.2 kB / 0.7789 GB, free: 7.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.4829, allocations: 415.5 kB / 0.7793 GB, free: 6.934 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4829, allocations: 3.938 kB / 0.7793 GB, free: 6.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007763/0.4837, allocations: 228 kB / 0.7795 GB, free: 6.707 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.4841, allocations: 9.125 kB / 0.7795 GB, free: 6.699 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004461/0.4885, allocations: 0.7749 MB / 0.7803 GB, free: 5.895 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.4889, allocations: 0.6922 MB / 0.781 GB, free: 5.176 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005265/0.4894, allocations: 93 kB / 0.7811 GB, free: 5.086 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.4897, allocations: 55.3 kB / 0.7811 GB, free: 5.031 MB / 0.545 GB Notification: Performance of SimCode: time 5.71e-07/0.4897, allocations: 0 / 0.7811 GB, free: 5.031 MB / 0.545 GB Notification: Performance of Templates: time 0.006984/0.4966, allocations: 3.485 MB / 0.7845 GB, free: 1.559 MB / 0.545 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)