Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001915/0.001915, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 195.8 kB / 16.63 MB, free: 6.609 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.344/1.344, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003703/0.003703, allocations: 294.2 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9564/0.9564, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 95.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1756, allocations: 86.98 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00166/0.1773, allocations: 0.5955 MB / 0.767 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1791, allocations: 1.45 MB / 0.7684 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.418e-05/0.1792, allocations: 7.938 kB / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.1792, allocations: 0 / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.386e-05/0.1792, allocations: 0 / 0.7684 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.1797, allocations: 139.4 kB / 0.7685 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.313e-05/0.1798, allocations: 31.91 kB / 0.7685 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.1798, allocations: 7.984 kB / 0.7685 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.1799, allocations: 11.98 kB / 0.7686 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.18, allocations: 19.97 kB / 0.7686 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.18, allocations: 4 kB / 0.7686 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00043/0.1804, allocations: 319.3 kB / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.939e-05/0.1805, allocations: 15.92 kB / 0.7689 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.1805, allocations: 3.938 kB / 0.7689 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.1808, allocations: 191.6 kB / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1808, allocations: 0 / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.124e-06/0.1808, allocations: 0 / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.1808, allocations: 0 / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005556/0.1814, allocations: 371.4 kB / 0.7694 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1814, allocations: 8.031 kB / 0.7695 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004591/0.1819, allocations: 76.78 kB / 0.7695 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.182, allocations: 160.4 kB / 0.7697 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.182, allocations: 384 / 0.7697 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.1821, allocations: 8.375 kB / 0.7697 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.1823, allocations: 77.94 kB / 0.7698 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1824, allocations: 0 / 0.7698 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1824, allocations: 3.938 kB / 0.7698 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1824, allocations: 0 / 0.7698 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.1827, allocations: 71.86 kB / 0.7698 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.1829, allocations: 161.7 kB / 0.77 GB, free: 4.578 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.1835, allocations: 122.6 kB / 0.7701 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.1837, allocations: 40.92 kB / 0.7701 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004679/0.1842, allocations: 157 kB / 0.7703 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1842, allocations: 38.5 kB / 0.7703 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.1842, allocations: 0 / 0.7703 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.001155/0.1854, allocations: 410.1 kB / 0.7707 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.1854, allocations: 55.41 kB / 0.7708 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.868e-05/0.1855, allocations: 93.8 kB / 0.7709 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1855, allocations: 25.7 kB / 0.7709 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.1855, allocations: 92.27 kB / 0.771 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.1856, allocations: 15.7 kB / 0.771 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.1856, allocations: 21.72 kB / 0.771 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1857, allocations: 314.8 kB / 0.7713 GB, free: 3.082 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.1859, allocations: 31.97 kB / 0.7713 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.186, allocations: 44.03 kB / 0.7714 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.1864, allocations: 76.8 kB / 0.7715 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1864, allocations: 0 / 0.7715 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000363/0.1867, allocations: 113.6 kB / 0.7716 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1868, allocations: 8 kB / 0.7716 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.1868, allocations: 0 / 0.7716 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1868, allocations: 3.938 kB / 0.7716 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/0.1869, allocations: 23.98 kB / 0.7716 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.187, allocations: 3.984 kB / 0.7716 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.924e-05/0.1871, allocations: 15.98 kB / 0.7716 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1871, allocations: 0 / 0.7716 GB, free: 2.758 MB / 0.5606 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 (6): * Single equations (assignments): 6 * 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 7.998e-05/0.1872, allocations: 110.5 kB / 0.7717 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.1872, allocations: 3.938 kB / 0.7717 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004544/0.1876, allocations: 141.1 kB / 0.7719 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1877, allocations: 7.938 kB / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1877, allocations: 0 / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1877, allocations: 3.938 kB / 0.7719 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.1878, allocations: 165.6 kB / 0.772 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1878, allocations: 0 / 0.772 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001584/0.188, allocations: 23.92 kB / 0.7721 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.188, allocations: 8 kB / 0.7721 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.188, allocations: 8.234 kB / 0.7721 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.188, allocations: 0 / 0.7721 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.188, allocations: 4 kB / 0.7721 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005687/0.1886, allocations: 180.9 kB / 0.7722 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.1887, allocations: 89.06 kB / 0.7723 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.1887, allocations: 4 kB / 0.7723 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.1888, allocations: 16.05 kB / 0.7723 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.1889, allocations: 7.922 kB / 0.7724 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.1889, allocations: 4 kB / 0.7724 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.137e-05/0.1889, allocations: 79.28 kB / 0.7724 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1889, allocations: 0 / 0.7724 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002278/0.1892, allocations: 35.98 kB / 0.7725 GB, free: 1.785 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002036/0.1894, allocations: 127.3 kB / 0.7726 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003769/0.1898, allocations: 87.92 kB / 0.7727 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1898, allocations: 0 / 0.7727 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.1899, allocations: 43.91 kB / 0.7727 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001535/0.1901, allocations: 11.88 kB / 0.7727 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.1907, allocations: 185.4 kB / 0.7729 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.191, allocations: 0.6807 MB / 0.7736 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.672e-05/0.191, allocations: 16 kB / 0.7736 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.1911, allocations: 15.38 kB / 0.7736 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.1911, allocations: 4 kB / 0.7736 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of Templates: time 0.3111/0.5022, allocations: 1.148 MB / 0.7747 GB, free: 14.55 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)