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.001345/0.001345, allocations: 111.9 kB / 16.41 MB, free: 6.492 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.001332/0.001333, allocations: 183 kB / 17.34 MB, free: 5.762 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.319/1.319, 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.002226/0.002226, allocations: 288.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8936/0.8936, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 99.86 kB / 0.6822 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4421, allocations: 86.98 MB / 0.7671 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001723/0.4438, allocations: 0.7707 MB / 0.7679 GB, free: 3.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001651/0.4455, allocations: 1.483 MB / 0.7693 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.164e-05/0.4456, allocations: 0 / 0.7693 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.897e-05/0.4456, allocations: 3.938 kB / 0.7693 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.603e-05/0.4456, allocations: 0 / 0.7693 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.4461, allocations: 147.4 kB / 0.7694 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.32e-05/0.4462, allocations: 51.64 kB / 0.7695 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.4462, allocations: 4 kB / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.391e-05/0.4463, allocations: 31.84 kB / 0.7695 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.402e-05/0.4464, allocations: 43.83 kB / 0.7696 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.4464, allocations: 4 kB / 0.7696 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.4468, allocations: 315.4 kB / 0.7699 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.026e-05/0.4469, allocations: 15.97 kB / 0.7699 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.4469, allocations: 23.88 kB / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002949/0.4472, allocations: 215.2 kB / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4472, allocations: 0 / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4472, allocations: 0 / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.329e-06/0.4472, 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.0006021/0.4478, allocations: 398 kB / 0.7705 GB, free: 244 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.4479, allocations: 8.031 kB / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.4483, allocations: 76.69 kB / 0.7706 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.4485, allocations: 168.3 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.4485, allocations: 8.375 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.4485, allocations: 8.375 kB / 0.7708 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003282/0.4488, allocations: 119.9 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.4489, allocations: 0 / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.4489, allocations: 0 / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.4489, allocations: 4 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004255/0.4493, allocations: 103.8 kB / 0.771 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.4499, allocations: 336.5 kB / 0.7713 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.4505, allocations: 162.4 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.4507, allocations: 48.81 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.4507, allocations: 8 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.4507, allocations: 34.56 kB / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4508, 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.01756/0.4683, allocations: 2.829 MB / 0.7743 GB, free: 12.14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.4684, allocations: 63.34 kB / 0.7744 GB, free: 12.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.87e-05/0.4685, allocations: 101.8 kB / 0.7745 GB, free: 11.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.4685, allocations: 33.7 kB / 0.7745 GB, free: 11.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.911e-05/0.4686, allocations: 91.98 kB / 0.7746 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.4687, allocations: 39.44 kB / 0.7746 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.4688, allocations: 69.58 kB / 0.7747 GB, free: 11.71 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.4689, allocations: 318.8 kB / 0.775 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006123/0.4695, allocations: 183.8 kB / 0.7752 GB, free: 11.21 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006001/0.4702, allocations: 207.8 kB / 0.7754 GB, free: 11.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.4714, allocations: 395.2 kB / 0.7757 GB, free: 10.62 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.4714, allocations: 0 / 0.7757 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001422/0.4728, allocations: 477.3 kB / 0.7762 GB, free: 10.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.4729, allocations: 4 kB / 0.7762 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4729, allocations: 0 / 0.7762 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4729, allocations: 4 kB / 0.7762 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008033/0.4737, allocations: 107.7 kB / 0.7763 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.4737, allocations: 7.922 kB / 0.7763 GB, free: 10.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/0.4743, allocations: 51.94 kB / 0.7764 GB, free: 9.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.4744, allocations: 19.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.0001499/0.4745, allocations: 116.2 kB / 0.7765 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.12e-05/0.4746, allocations: 7.906 kB / 0.7765 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.367e-05/0.4747, allocations: 11.97 kB / 0.7765 GB, free: 9.816 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.4747, allocations: 4 kB / 0.7765 GB, free: 9.812 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.4747, allocations: 7.922 kB / 0.7765 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4747, allocations: 4 kB / 0.7765 GB, free: 9.801 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.4769, allocations: 1.039 MB / 0.7775 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.477, allocations: 0 / 0.7775 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008541/0.4778, allocations: 107.8 kB / 0.7776 GB, free: 8.543 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-06/0.4778, allocations: 3.938 kB / 0.7776 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.4779, allocations: 23.92 kB / 0.7777 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4779, allocations: 0 / 0.7777 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4779, allocations: 0 / 0.7777 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.4802, allocations: 0.7955 MB / 0.7784 GB, free: 7.703 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.4804, allocations: 124.9 kB / 0.7786 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/0.4805, allocations: 4 kB / 0.7786 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006541/0.4811, allocations: 48 kB / 0.7786 GB, free: 7.512 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.4812, allocations: 23.92 kB / 0.7786 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.061e-05/0.4813, allocations: 23.94 kB / 0.7787 GB, free: 7.465 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.4813, allocations: 87.27 kB / 0.7787 GB, free: 7.379 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4814, allocations: 0 / 0.7787 GB, free: 7.379 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003888/0.4817, allocations: 52 kB / 0.7788 GB, free: 7.328 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.0002379/0.482, allocations: 115.2 kB / 0.7789 GB, free: 7.207 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.4835, allocations: 419.5 kB / 0.7793 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4835, allocations: 0 / 0.7793 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007445/0.4843, allocations: 231.7 kB / 0.7795 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.4847, allocations: 8 kB / 0.7795 GB, free: 6.562 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004226/0.4889, allocations: 0.777 MB / 0.7803 GB, free: 5.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.4894, allocations: 0.6961 MB / 0.781 GB, free: 5.027 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.4898, allocations: 79.17 kB / 0.781 GB, free: 4.949 MB / 0.545 GB Notification: Performance of SimCode: time 7.11e-07/0.4898, allocations: 0 / 0.781 GB, free: 4.949 MB / 0.545 GB Notification: Performance of Templates: time 0.006603/0.4964, allocations: 3.779 MB / 0.7847 GB, free: 1.164 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)