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.001173/0.001173, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001214/0.001215, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.226/1.226, allocations: 222.9 MB / 240.6 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00195/0.00195, allocations: 282.5 kB / 291 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8915/0.8915, allocations: 169.2 MB / 0.4985 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 97.73 kB / 0.5953 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1411, allocations: 86.98 MB / 0.6803 GB, free: 1.043 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001875/0.143, allocations: 0.8358 MB / 0.6811 GB, free: 224 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1446, allocations: 1.472 MB / 0.6825 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.273e-05/0.1446, allocations: 0 / 0.6825 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.994e-05/0.1447, allocations: 3.188 kB / 0.6825 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.796e-05/0.1447, allocations: 3.938 kB / 0.6825 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1452, allocations: 117.2 kB / 0.6827 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.836e-05/0.1452, allocations: 53.52 kB / 0.6827 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.1453, allocations: 4 kB / 0.6827 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.932e-05/0.1453, allocations: 27.92 kB / 0.6827 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.641e-05/0.1454, allocations: 35.88 kB / 0.6828 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.1454, allocations: 4.875 kB / 0.6828 GB, free: 14.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003793/0.1458, allocations: 311.4 kB / 0.6831 GB, free: 14.19 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.978e-05/0.1458, allocations: 24.59 kB / 0.6831 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.1459, allocations: 19.92 kB / 0.6831 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1461, allocations: 152.8 kB / 0.6833 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.1461, allocations: 0 / 0.6833 GB, free: 14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1461, allocations: 5.156 kB / 0.6833 GB, free: 13.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1461, allocations: 0 / 0.6833 GB, free: 13.99 MB / 494.1 MB 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.0005735/0.1467, allocations: 407.4 kB / 0.6837 GB, free: 13.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.1467, allocations: 8.031 kB / 0.6837 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004255/0.1472, allocations: 68.77 kB / 0.6837 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.1473, allocations: 176.3 kB / 0.6839 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.1473, allocations: 4.375 kB / 0.6839 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1473, allocations: 8.375 kB / 0.6839 GB, free: 13.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.1477, allocations: 120.3 kB / 0.684 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1477, allocations: 0 / 0.684 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1477, allocations: 0 / 0.684 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.1477, allocations: 0 / 0.684 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.1482, allocations: 107.8 kB / 0.6841 GB, free: 13.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.1487, allocations: 328.6 kB / 0.6844 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.1493, allocations: 166.4 kB / 0.6846 GB, free: 12.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.1495, allocations: 52.81 kB / 0.6846 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1495, allocations: 4 kB / 0.6847 GB, free: 12.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1495, allocations: 38.55 kB / 0.6847 GB, free: 12.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.395e-06/0.1496, allocations: 0 / 0.6847 GB, free: 12.38 MB / 494.1 MB 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.01866/0.1682, allocations: 2.83 MB / 0.6875 GB, free: 9.449 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.1683, allocations: 59.34 kB / 0.6875 GB, free: 9.379 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.463e-05/0.1684, allocations: 105.8 kB / 0.6876 GB, free: 9.266 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.991e-05/0.1684, allocations: 25.7 kB / 0.6876 GB, free: 9.234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.1685, allocations: 92.12 kB / 0.6877 GB, free: 9.141 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.1686, allocations: 39.36 kB / 0.6878 GB, free: 9.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.1687, allocations: 73.52 kB / 0.6878 GB, free: 9.023 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.458e-05/0.1688, allocations: 314.8 kB / 0.6881 GB, free: 8.707 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/0.1694, allocations: 191.8 kB / 0.6883 GB, free: 8.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.1701, allocations: 195.8 kB / 0.6885 GB, free: 8.328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.1713, allocations: 384.5 kB / 0.6889 GB, free: 7.949 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1713, allocations: 3.938 kB / 0.6889 GB, free: 7.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001439/0.1728, allocations: 483.9 kB / 0.6893 GB, free: 7.469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1728, allocations: 6.031 kB / 0.6893 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1728, allocations: 0 / 0.6893 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1728, allocations: 4 kB / 0.6893 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008527/0.1737, allocations: 107.7 kB / 0.6894 GB, free: 7.355 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1737, allocations: 3.938 kB / 0.6894 GB, free: 7.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.1743, allocations: 51.94 kB / 0.6895 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/0.1744, allocations: 19.94 kB / 0.6895 GB, free: 7.281 MB / 494.1 MB 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.0001435/0.1745, allocations: 119.1 kB / 0.6896 GB, free: 7.156 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/0.1746, allocations: 7.906 kB / 0.6896 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.902e-05/0.1747, allocations: 11.97 kB / 0.6896 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1747, allocations: 96 / 0.6896 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-06/0.1747, allocations: 11.88 kB / 0.6897 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1747, allocations: 4 kB / 0.6897 GB, free: 7.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.1767, allocations: 1.043 MB / 0.6907 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1768, allocations: 0 / 0.6907 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008387/0.1776, allocations: 107.8 kB / 0.6908 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.1776, allocations: 3.938 kB / 0.6908 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/0.1777, allocations: 19.94 kB / 0.6908 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1777, allocations: 0 / 0.6908 GB, free: 5.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.1777, allocations: 4 kB / 0.6908 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.1799, allocations: 0.7956 MB / 0.6916 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.18, allocations: 113 kB / 0.6917 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.1801, allocations: 7.938 kB / 0.6917 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006865/0.1808, allocations: 51.98 kB / 0.6918 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.922e-05/0.1809, allocations: 23.94 kB / 0.6918 GB, free: 4.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.1809, allocations: 27.92 kB / 0.6918 GB, free: 4.785 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.375e-05/0.181, allocations: 83.28 kB / 0.6919 GB, free: 4.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.181, allocations: 4 kB / 0.6919 GB, free: 4.699 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003456/0.1813, allocations: 48 kB / 0.6919 GB, free: 4.652 MB / 494.1 MB 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.0002033/0.1816, allocations: 117.2 kB / 0.692 GB, free: 4.531 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.1829, allocations: 423.8 kB / 0.6924 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1829, allocations: 0 / 0.6924 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006705/0.1836, allocations: 231.6 kB / 0.6927 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.184, allocations: 11.98 kB / 0.6927 GB, free: 3.879 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/0.1881, allocations: 0.8082 MB / 0.6935 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1883, allocations: 0.6963 MB / 0.6941 GB, free: 2.312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/0.1887, allocations: 79.19 kB / 0.6942 GB, free: 2.234 MB / 494.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1887, allocations: 0 / 0.6942 GB, free: 2.234 MB / 494.1 MB Notification: Performance of Templates: time 0.005159/0.1939, allocations: 3.785 MB / 0.6979 GB, free: 14.44 MB / 0.4981 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)