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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8348/0.8348, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 183.5 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 221.3 MB / 441.4 MB, free: 4.586 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009451/0.000945, allocations: 95.97 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001808/0.001808, allocations: 272 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.039e-05, allocations: 4 kB / 0.6835 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4908, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.6589, allocations: 110.1 MB / 0.8718 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.6592, allocations: 83.81 kB / 0.8719 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02284/0.6821, allocations: 5.506 MB / 0.8773 GB, free: 8.855 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.409e-06/0.6821, allocations: 8 kB / 0.8773 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.6822, allocations: 0 / 0.8773 GB, free: 8.848 MB / 0.5417 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.000706/0.6829, allocations: 390.3 kB / 0.8776 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.6829, allocations: 8.031 kB / 0.8777 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005156/0.6835, allocations: 75.77 kB / 0.8777 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.6836, allocations: 163.1 kB / 0.8779 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.6837, allocations: 11.95 kB / 0.8779 GB, free: 8.129 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.6837, allocations: 12 kB / 0.8779 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.684, allocations: 77.59 kB / 0.878 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.684, allocations: 0 / 0.878 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.684, allocations: 0 / 0.878 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.684, allocations: 4 kB / 0.878 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.6842, allocations: 39.98 kB / 0.878 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007839/0.685, allocations: 352.5 kB / 0.8784 GB, free: 7.598 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.6852, allocations: 66.56 kB / 0.8784 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.898e-05/0.6853, allocations: 24.84 kB / 0.8784 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.6853, allocations: 0 / 0.8784 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.6854, allocations: 42.56 kB / 0.8785 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.6854, allocations: 0 / 0.8785 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.0184/0.7038, allocations: 2.112 MB / 0.8805 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.7039, allocations: 55.41 kB / 0.8806 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.704, allocations: 93 kB / 0.8807 GB, free: 5.078 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/0.7041, allocations: 29.7 kB / 0.8807 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.7041, allocations: 88.08 kB / 0.8808 GB, free: 4.953 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.989e-05/0.7043, allocations: 43.36 kB / 0.8808 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.7043, allocations: 0 / 0.8808 GB, free: 4.91 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.7045, allocations: 318.8 kB / 0.8811 GB, free: 4.59 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.7048, allocations: 111.9 kB / 0.8813 GB, free: 4.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003636/0.7052, allocations: 122.7 kB / 0.8814 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003993/0.7056, allocations: 115.9 kB / 0.8815 GB, free: 4.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.7056, allocations: 0 / 0.8815 GB, free: 4.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001085/0.7067, allocations: 317.4 kB / 0.8818 GB, free: 3.934 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.7068, allocations: 4 kB / 0.8818 GB, free: 3.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.7068, allocations: 3.984 kB / 0.8818 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.7068, allocations: 0 / 0.8818 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.708, allocations: 127.7 kB / 0.8819 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.708, allocations: 7.953 kB / 0.8819 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008612/0.7089, allocations: 55.94 kB / 0.882 GB, free: 3.738 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/0.709, allocations: 19.94 kB / 0.882 GB, free: 3.719 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.7092, allocations: 109 kB / 0.8821 GB, free: 3.605 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.575e-05/0.7093, allocations: 7.906 kB / 0.8821 GB, free: 3.598 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.7093, allocations: 20.08 kB / 0.8821 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.7093, allocations: 0 / 0.8821 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.7094, allocations: 192 / 0.8821 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.7094, allocations: 3.953 kB / 0.8821 GB, free: 3.578 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.7114, allocations: 0.9009 MB / 0.883 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.7114, allocations: 0 / 0.883 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.7126, allocations: 115.8 kB / 0.8831 GB, free: 2.449 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.7126, allocations: 3.953 kB / 0.8831 GB, free: 2.445 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.791e-05/0.7127, allocations: 23.94 kB / 0.8831 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7127, allocations: 0 / 0.8831 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7127, allocations: 7.984 kB / 0.8831 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.7143, allocations: 0.5654 MB / 0.8837 GB, free: 1.832 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.7145, allocations: 117 kB / 0.8838 GB, free: 1.699 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.413e-05/0.7146, allocations: 11.94 kB / 0.8838 GB, free: 1.688 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009313/0.7156, allocations: 60 kB / 0.8839 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.7157, allocations: 23.92 kB / 0.8839 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.595e-05/0.7158, allocations: 27.94 kB / 0.8839 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.7159, allocations: 79.28 kB / 0.884 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7159, allocations: 4 kB / 0.884 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005672/0.7165, allocations: 59.94 kB / 0.8841 GB, free: 1.438 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002702/0.7167, allocations: 111.3 kB / 0.8842 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008636/0.7176, allocations: 282.1 kB / 0.8844 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7176, allocations: 0 / 0.8844 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004503/0.7181, allocations: 152.1 kB / 0.8846 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.7184, allocations: 12.72 kB / 0.8846 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/0.7235, allocations: 0.6919 MB / 0.8853 GB, free: 172 kB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.7238, allocations: 0.6926 MB / 0.886 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001053/0.7249, allocations: 96.66 kB / 0.886 GB, free: 15.36 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003567/0.7253, allocations: 55.3 kB / 0.8861 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.232e-06/0.7253, allocations: 0 / 0.8861 GB, free: 15.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.008307/0.7336, allocations: 3.226 MB / 0.8892 GB, free: 12.08 MB / 0.5573 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)