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.001071/0.001071, allocations: 100.3 kB / 16.36 MB, free: 6.012 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.001078/0.001078, allocations: 193.3 kB / 17.3 MB, free: 5.617 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.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00206/0.00206, allocations: 291.7 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8952/0.8952, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 99.41 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1575, allocations: 86.98 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00234/0.1599, allocations: 0.7788 MB / 0.6824 GB, free: 6.688 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1618, allocations: 1.481 MB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.178e-05/0.1619, allocations: 0 / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.1619, allocations: 3.938 kB / 0.6838 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.162, allocations: 0 / 0.6838 GB, free: 5.184 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.1625, allocations: 143.4 kB / 0.684 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.925e-05/0.1626, allocations: 51.84 kB / 0.684 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.1627, allocations: 4 kB / 0.684 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.515e-05/0.1628, allocations: 31.91 kB / 0.6841 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.175e-05/0.1628, allocations: 31.89 kB / 0.6841 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.1629, allocations: 4 kB / 0.6841 GB, free: 4.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004482/0.1633, allocations: 319.4 kB / 0.6844 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.1634, allocations: 15.92 kB / 0.6844 GB, free: 4.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.1634, allocations: 27.92 kB / 0.6844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.1638, allocations: 215.4 kB / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1638, allocations: 3.984 kB / 0.6846 GB, free: 4.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1638, allocations: 0 / 0.6846 GB, free: 4.352 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1638, allocations: 0 / 0.6846 GB, free: 4.352 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.000652/0.1644, allocations: 399.4 kB / 0.685 GB, free: 3.914 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1645, allocations: 8.031 kB / 0.685 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004358/0.1649, allocations: 76.69 kB / 0.6851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.1651, allocations: 168.3 kB / 0.6853 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.679e-05/0.1651, allocations: 4.375 kB / 0.6853 GB, free: 3.625 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.1651, allocations: 12.38 kB / 0.6853 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.1655, allocations: 109.9 kB / 0.6854 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1655, allocations: 0 / 0.6854 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1655, allocations: 4 kB / 0.6854 GB, free: 3.496 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1655, allocations: 4 kB / 0.6854 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.166, allocations: 103.8 kB / 0.6855 GB, free: 3.391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.1665, allocations: 336.6 kB / 0.6858 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005995/0.1671, allocations: 154.4 kB / 0.686 GB, free: 2.852 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.1674, allocations: 60.8 kB / 0.686 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.1674, allocations: 0 / 0.686 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1674, allocations: 34.56 kB / 0.686 GB, free: 2.746 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.1674, allocations: 0 / 0.686 GB, free: 2.746 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.2707/0.4382, allocations: 2.828 MB / 0.6888 GB, free: 18.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.4382, allocations: 57.31 kB / 0.6889 GB, free: 18.49 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/0.4383, allocations: 104.9 kB / 0.689 GB, free: 18.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.4384, allocations: 26.23 kB / 0.689 GB, free: 18.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.703e-05/0.4384, allocations: 90.92 kB / 0.6891 GB, free: 18.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.4385, allocations: 39.95 kB / 0.6891 GB, free: 18.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.4386, allocations: 67.58 kB / 0.6892 GB, free: 18.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.4387, allocations: 318.1 kB / 0.6895 GB, free: 17.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006286/0.4393, allocations: 190.4 kB / 0.6897 GB, free: 17.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006079/0.4399, allocations: 194.3 kB / 0.6898 GB, free: 17.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.4412, allocations: 392.1 kB / 0.6902 GB, free: 17.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4412, allocations: 0 / 0.6902 GB, free: 17.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00147/0.4426, allocations: 480.6 kB / 0.6907 GB, free: 17.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.4427, allocations: 5.031 kB / 0.6907 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.4427, allocations: 7.219 kB / 0.6907 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.4427, allocations: 3.688 kB / 0.6907 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007995/0.4435, allocations: 112.5 kB / 0.6908 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4435, allocations: 0.5938 kB / 0.6908 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.4441, allocations: 44.69 kB / 0.6908 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.587e-05/0.4442, allocations: 27.94 kB / 0.6909 GB, free: 17.9 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.0001092/0.4443, allocations: 117.6 kB / 0.691 GB, free: 17.79 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.42e-05/0.4444, allocations: 10.69 kB / 0.691 GB, free: 17.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.4444, allocations: 12.92 kB / 0.691 GB, free: 17.78 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.4444, allocations: 3.328 kB / 0.691 GB, free: 17.78 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4444, allocations: 0 / 0.691 GB, free: 17.78 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4444, allocations: 0.5625 kB / 0.691 GB, free: 17.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.4464, allocations: 1.049 MB / 0.692 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.4464, allocations: 3.938 kB / 0.692 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008039/0.4472, allocations: 114.8 kB / 0.6922 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4472, allocations: 0 / 0.6922 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.838e-05/0.4473, allocations: 22.7 kB / 0.6922 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4473, allocations: 1.031 kB / 0.6922 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4473, allocations: 3.328 kB / 0.6922 GB, free: 17.22 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.4494, allocations: 0.7942 MB / 0.693 GB, free: 16.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/0.4496, allocations: 117.5 kB / 0.6931 GB, free: 16.82 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.4497, allocations: 1.375 kB / 0.6931 GB, free: 16.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006493/0.4503, allocations: 51.72 kB / 0.6931 GB, free: 16.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.4504, allocations: 26.77 kB / 0.6931 GB, free: 16.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.325e-05/0.4505, allocations: 23.47 kB / 0.6932 GB, free: 16.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.253e-05/0.4505, allocations: 84.03 kB / 0.6932 GB, free: 16.74 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4505, allocations: 0 / 0.6932 GB, free: 16.74 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00037/0.4509, allocations: 53.61 kB / 0.6933 GB, free: 16.73 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.0001694/0.4511, allocations: 117.4 kB / 0.6934 GB, free: 16.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.4524, allocations: 425.2 kB / 0.6938 GB, free: 16.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4525, allocations: 4 kB / 0.6938 GB, free: 16.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006784/0.4531, allocations: 229.5 kB / 0.694 GB, free: 16.52 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.4535, allocations: 8.766 kB / 0.694 GB, free: 16.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.4575, allocations: 0.7624 MB / 0.6948 GB, free: 16.28 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.939e-05/0.4576, allocations: 0.6942 MB / 0.6955 GB, free: 15.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004569/0.4581, allocations: 90.06 kB / 0.6956 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.4583, allocations: 54.34 kB / 0.6956 GB, free: 15.52 MB / 494.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4583, allocations: 0 / 0.6956 GB, free: 15.52 MB / 494.1 MB Notification: Performance of Templates: time 0.006832/0.4652, allocations: 3.466 MB / 0.699 GB, free: 15.34 MB / 494.1 MB 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)