Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 85.45 kB / 21.62 MB, free: 2.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 174 kB / 25.05 MB, free: 9.152 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9652/0.9652, allocations: 177.2 MB / 205.5 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.875/1.875, allocations: 389.6 MB / 0.6363 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0.6562 kB / 0.7762 GB, free: 5.211 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.649e-05, allocations: 6.25 kB / 0.7762 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001332/0.001349, allocations: 0.8533 MB / 0.777 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.002869, allocations: 1.499 MB / 0.7785 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.002896, allocations: 0.9844 kB / 0.7785 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.513e-05/0.002931, allocations: 8.578 kB / 0.7785 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.002973, allocations: 0.5469 kB / 0.7785 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.003335, allocations: 151.1 kB / 0.7787 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.294e-05/0.003408, allocations: 51.89 kB / 0.7787 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.402e-05/0.003442, allocations: 7.984 kB / 0.7787 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.111e-05/0.003523, allocations: 39.89 kB / 0.7787 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.471e-05/0.003568, allocations: 19.97 kB / 0.7788 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.003583, allocations: 4.812 kB / 0.7788 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.003861, allocations: 263.4 kB / 0.779 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.003878, allocations: 16.72 kB / 0.779 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.003898, allocations: 19.91 kB / 0.7791 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002251/0.004123, allocations: 218.2 kB / 0.7793 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.004125, allocations: 0 / 0.7793 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.01e-07/0.004125, allocations: 0 / 0.7793 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.004128, allocations: 3.938 kB / 0.7793 GB, free: 2.094 MB / 0.7292 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.0003556/0.004484, allocations: 296.4 kB / 0.7796 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.004515, allocations: 9.344 kB / 0.7796 GB, free: 1.773 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.004718, allocations: 55.62 kB / 0.7796 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.16e-05/0.0048, allocations: 121.6 kB / 0.7797 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.004816, allocations: 10.56 kB / 0.7797 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.004839, allocations: 8.328 kB / 0.7797 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.005006, allocations: 146.3 kB / 0.7799 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.005016, allocations: 1.938 kB / 0.7799 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.005026, allocations: 4.375 kB / 0.7799 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.005032, allocations: 3.938 kB / 0.7799 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.225e-05/0.005074, allocations: 19.98 kB / 0.7799 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.005352, allocations: 209.7 kB / 0.7801 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.005462, allocations: 63.06 kB / 0.7802 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.005482, allocations: 12.86 kB / 0.7802 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.005495, allocations: 9.062 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.005517, allocations: 38.5 kB / 0.7802 GB, free: 1.012 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.005518, allocations: 0.8125 kB / 0.7802 GB, free: 1.012 MB / 0.7292 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.007507/0.01303, allocations: 2.14 MB / 0.7823 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.01305, allocations: 55.34 kB / 0.7824 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.121e-05/0.0131, allocations: 110.7 kB / 0.7825 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.01314, allocations: 30.33 kB / 0.7825 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.01317, allocations: 88.03 kB / 0.7826 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.01322, allocations: 45.64 kB / 0.7826 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-05/0.01331, allocations: 61.56 kB / 0.7827 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/0.01338, allocations: 318.8 kB / 0.783 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.0135, allocations: 91.94 kB / 0.7831 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.01362, allocations: 100.9 kB / 0.7832 GB, free: 13.94 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002498/0.01387, allocations: 224.8 kB / 0.7834 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.01387, allocations: 0 / 0.7834 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003017/0.01418, allocations: 249.5 kB / 0.7836 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.01419, allocations: 5 kB / 0.7836 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01419, allocations: 0 / 0.7836 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.0142, allocations: 0 / 0.7836 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003333/0.01453, allocations: 101.4 kB / 0.7837 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.01454, allocations: 1.797 kB / 0.7837 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.01474, allocations: 33.88 kB / 0.7838 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.869e-05/0.01477, allocations: 19.92 kB / 0.7838 GB, free: 13.32 MB / 0.7448 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 9.237e-05/0.01486, allocations: 118.8 kB / 0.7839 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.01492, allocations: 4 kB / 0.7839 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.049e-05/0.01495, allocations: 16.11 kB / 0.7839 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01495, allocations: 13.06 kB / 0.7839 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01495, allocations: 0 / 0.7839 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.01496, allocations: 0 / 0.7839 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.01552, allocations: 467.5 kB / 0.7844 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.01552, allocations: 7.984 kB / 0.7844 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.01585, allocations: 97.66 kB / 0.7845 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.01586, allocations: 4.812 kB / 0.7845 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.01589, allocations: 23.94 kB / 0.7845 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01589, allocations: 0 / 0.7845 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01589, allocations: 0.7812 kB / 0.7845 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005205/0.01641, allocations: 453 kB / 0.7849 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-05/0.01648, allocations: 23.94 kB / 0.785 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.367e-05/0.01652, allocations: 0 / 0.785 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.01675, allocations: 33.69 kB / 0.785 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.0168, allocations: 23.92 kB / 0.785 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.01683, allocations: 20.8 kB / 0.785 GB, free: 12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.038e-05/0.01684, allocations: 8.859 kB / 0.7851 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01684, allocations: 0.875 kB / 0.7851 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002083/0.01705, allocations: 55.94 kB / 0.7851 GB, free: 11.93 MB / 0.7448 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.0001294/0.01718, allocations: 97.05 kB / 0.7852 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002997/0.01748, allocations: 240 kB / 0.7854 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.01748, allocations: 0.5938 kB / 0.7854 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.01763, allocations: 137.9 kB / 0.7856 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.01779, allocations: 36.89 kB / 0.7856 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.01928, allocations: 0.5692 MB / 0.7861 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.994e-05/0.01932, allocations: 63.34 kB / 0.7862 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003179/0.01964, allocations: 98.69 kB / 0.7863 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.0199, allocations: 95.23 kB / 0.7864 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of SimCode: time 1.002e-06/0.0199, allocations: 0 / 0.7864 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.004886/0.02478, allocations: 3.855 MB / 0.7902 GB, free: 6.777 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.054695758037269]