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.001195/0.001195, allocations: 112.3 kB / 16.41 MB, free: 6.008 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.001186/0.001186, allocations: 185 kB / 17.34 MB, free: 5.629 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.304/1.304, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002114, allocations: 293.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9112/0.9112, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 99.86 kB / 0.6822 GB, free: 6.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4485, allocations: 86.98 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002207/0.4507, allocations: 0.7784 MB / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002166/0.4529, allocations: 1.483 MB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.453, allocations: 0 / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.961e-05/0.4531, allocations: 3.938 kB / 0.7693 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.469e-05/0.4531, allocations: 3.938 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006239/0.4538, allocations: 147.4 kB / 0.7695 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.969e-05/0.4539, allocations: 43.72 kB / 0.7695 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.661e-05/0.4539, allocations: 4 kB / 0.7695 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.06e-05/0.454, allocations: 31.91 kB / 0.7695 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.4541, allocations: 39.83 kB / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.4541, allocations: 4 kB / 0.7696 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005078/0.4546, allocations: 319.4 kB / 0.7699 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.072e-05/0.4547, allocations: 15.92 kB / 0.7699 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.801e-05/0.4547, allocations: 27.86 kB / 0.7699 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003439/0.4551, allocations: 219.1 kB / 0.7701 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4551, allocations: 0 / 0.7701 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.214e-06/0.4551, allocations: 0 / 0.7701 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.4551, allocations: 0 / 0.7701 GB, free: 0.7578 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.0007289/0.4558, allocations: 398 kB / 0.7705 GB, free: 332 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.4559, allocations: 8.031 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/0.4563, allocations: 76.75 kB / 0.7706 GB, free: 248 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.4565, allocations: 168.3 kB / 0.7708 GB, free: 40 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.4565, allocations: 4.375 kB / 0.7708 GB, free: 36 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.4566, allocations: 8.375 kB / 0.7708 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003983/0.457, allocations: 115.9 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.457, allocations: 3.984 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.457, allocations: 8 kB / 0.7709 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.457, allocations: 4 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004754/0.4575, allocations: 91.91 kB / 0.771 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006364/0.4582, allocations: 336.5 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006603/0.4588, allocations: 158.4 kB / 0.7714 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.4591, allocations: 56.8 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.4591, allocations: 8.141 kB / 0.7715 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.4592, allocations: 30.56 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.744e-06/0.4592, allocations: 4 kB / 0.7715 GB, free: 15.15 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.01792/0.4771, allocations: 2.826 MB / 0.7743 GB, free: 12.23 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.4772, allocations: 63.28 kB / 0.7744 GB, free: 12.16 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.614e-05/0.4773, allocations: 105.8 kB / 0.7745 GB, free: 12.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.744e-05/0.4774, allocations: 25.7 kB / 0.7745 GB, free: 12.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.4774, allocations: 95.98 kB / 0.7746 GB, free: 11.91 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.036e-05/0.4775, allocations: 39.45 kB / 0.7746 GB, free: 11.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/0.4777, allocations: 69.58 kB / 0.7747 GB, free: 11.8 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4778, allocations: 314.8 kB / 0.775 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006517/0.4785, allocations: 191.8 kB / 0.7752 GB, free: 11.3 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006753/0.4792, allocations: 191.8 kB / 0.7753 GB, free: 11.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.4805, allocations: 399.8 kB / 0.7757 GB, free: 10.72 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4805, allocations: 0 / 0.7757 GB, free: 10.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001527/0.4821, allocations: 481.3 kB / 0.7762 GB, free: 10.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.4821, allocations: 4.094 kB / 0.7762 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.4821, allocations: 3.938 kB / 0.7762 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4821, allocations: 4 kB / 0.7762 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.483, allocations: 99.8 kB / 0.7763 GB, free: 10.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.483, allocations: 7.938 kB / 0.7763 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005859/0.4836, allocations: 43.94 kB / 0.7763 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.553e-05/0.4836, allocations: 23.92 kB / 0.7764 GB, free: 10.06 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.0001554/0.4838, allocations: 124.2 kB / 0.7765 GB, free: 9.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.2e-05/0.4839, allocations: 7.906 kB / 0.7765 GB, free: 9.922 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/0.4839, allocations: 7.969 kB / 0.7765 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.484, allocations: 4 kB / 0.7765 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.789e-05/0.484, allocations: 3.938 kB / 0.7765 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.484, allocations: 3.938 kB / 0.7765 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.4862, allocations: 1.047 MB / 0.7775 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4862, allocations: 0 / 0.7775 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007943/0.4871, allocations: 107.8 kB / 0.7776 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.4871, allocations: 7.938 kB / 0.7776 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.989e-05/0.4871, allocations: 23.92 kB / 0.7777 GB, free: 8.605 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.4871, allocations: 3.938 kB / 0.7777 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4871, allocations: 0 / 0.7777 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.4894, allocations: 0.7917 MB / 0.7784 GB, free: 7.793 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.4896, allocations: 124.9 kB / 0.7786 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.4897, allocations: 0 / 0.7786 GB, free: 7.652 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/0.4903, allocations: 48 kB / 0.7786 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.618e-05/0.4904, allocations: 27.92 kB / 0.7786 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.281e-05/0.4905, allocations: 23.94 kB / 0.7787 GB, free: 7.555 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.591e-05/0.4905, allocations: 79.28 kB / 0.7787 GB, free: 7.477 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4905, allocations: 0 / 0.7787 GB, free: 7.477 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003874/0.4909, allocations: 55.98 kB / 0.7788 GB, free: 7.422 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.0002433/0.4912, allocations: 115.2 kB / 0.7789 GB, free: 7.301 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001444/0.4926, allocations: 419.5 kB / 0.7793 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.4927, allocations: 0 / 0.7793 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007008/0.4934, allocations: 223.7 kB / 0.7795 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.4937, allocations: 10.69 kB / 0.7795 GB, free: 6.664 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.4979, allocations: 0.7849 MB / 0.7803 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.4982, allocations: 0.6961 MB / 0.781 GB, free: 5.121 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003828/0.4986, allocations: 75.23 kB / 0.781 GB, free: 5.047 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.4986, allocations: 0 / 0.781 GB, free: 5.047 MB / 0.545 GB Notification: Performance of Templates: time 0.00612/0.5047, allocations: 3.788 MB / 0.7847 GB, free: 1.258 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)