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.007031/0.007031, allocations: 108.3 kB / 15.74 MB, free: 6.441 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.001735/0.001735, allocations: 194.2 kB / 16.67 MB, free: 6.355 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 290.5 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9387/0.9387, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 99.86 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1618, allocations: 86.98 MB / 0.7664 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001984/0.1638, allocations: 0.776 MB / 0.7672 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1658, allocations: 1.474 MB / 0.7686 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.1659, allocations: 0 / 0.7686 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.373e-05/0.1659, allocations: 3.938 kB / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.053e-05/0.166, allocations: 3.938 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005748/0.1666, allocations: 147.1 kB / 0.7688 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.489e-05/0.1667, allocations: 55.7 kB / 0.7688 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.228e-05/0.1667, allocations: 7.984 kB / 0.7688 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.1668, allocations: 23.92 kB / 0.7689 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.1669, allocations: 31.84 kB / 0.7689 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.1669, allocations: 11.94 kB / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/0.1674, allocations: 315.3 kB / 0.7692 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.055e-05/0.1674, allocations: 11.98 kB / 0.7692 GB, free: 5.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.005e-05/0.1675, allocations: 31.84 kB / 0.7693 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002926/0.1678, allocations: 219.4 kB / 0.7695 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1678, allocations: 0 / 0.7695 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1678, allocations: 0 / 0.7695 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.475e-06/0.1678, allocations: 0 / 0.7695 GB, free: 5.277 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006303/0.1684, allocations: 399.4 kB / 0.7698 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1685, allocations: 8.031 kB / 0.7699 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004425/0.1689, allocations: 72.75 kB / 0.7699 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.169, allocations: 168.4 kB / 0.7701 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.1691, allocations: 8.375 kB / 0.7701 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1691, allocations: 16.22 kB / 0.7701 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.1695, allocations: 113.9 kB / 0.7702 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1695, allocations: 0 / 0.7702 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.1695, allocations: 0 / 0.7702 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1695, allocations: 0 / 0.7702 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.17, allocations: 103.9 kB / 0.7703 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006053/0.1706, allocations: 340.5 kB / 0.7706 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000636/0.1712, allocations: 154.4 kB / 0.7708 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.1715, allocations: 56.81 kB / 0.7708 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.1715, allocations: 0 / 0.7708 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.1715, allocations: 38.56 kB / 0.7709 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.1715, allocations: 0 / 0.7709 GB, free: 3.668 MB / 0.5606 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.01766/0.1892, allocations: 2.83 MB / 0.7736 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.1893, allocations: 59.34 kB / 0.7737 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.742e-05/0.1893, allocations: 101.8 kB / 0.7738 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.209e-05/0.1894, allocations: 25.7 kB / 0.7738 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.978e-05/0.1894, allocations: 96.03 kB / 0.7739 GB, free: 444 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.25e-05/0.1895, allocations: 31.47 kB / 0.7739 GB, free: 412 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/0.1897, allocations: 69.58 kB / 0.774 GB, free: 336 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.568e-05/0.1898, allocations: 322.8 kB / 0.7743 GB, free: 4 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3037/0.4935, allocations: 182.8 kB / 0.7745 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.4942, allocations: 191.9 kB / 0.7747 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.4956, allocations: 393.2 kB / 0.775 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4956, allocations: 0 / 0.775 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001574/0.4972, allocations: 479.5 kB / 0.7755 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4973, allocations: 7 kB / 0.7755 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4973, allocations: 0.9688 kB / 0.7755 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4973, allocations: 2.562 kB / 0.7755 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008369/0.4981, allocations: 107.7 kB / 0.7756 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4981, allocations: 2.562 kB / 0.7756 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/0.4988, allocations: 49.77 kB / 0.7757 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.138e-05/0.4988, allocations: 22.67 kB / 0.7757 GB, free: 15.09 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 (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.0001517/0.499, allocations: 118.7 kB / 0.7758 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.4991, allocations: 6.625 kB / 0.7758 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.4992, allocations: 17.12 kB / 0.7758 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4992, allocations: 2.422 kB / 0.7758 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4992, allocations: 0 / 0.7758 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4992, allocations: 0.8438 kB / 0.7758 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002129/0.5013, allocations: 1.043 MB / 0.7768 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5013, allocations: 4.938 kB / 0.7769 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000848/0.5022, allocations: 109.3 kB / 0.777 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5022, allocations: 2.156 kB / 0.777 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.617e-05/0.5023, allocations: 25.48 kB / 0.777 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.5023, allocations: 8.594 kB / 0.777 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.5023, allocations: 3.031 kB / 0.777 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.5045, allocations: 0.7931 MB / 0.7778 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5047, allocations: 115.1 kB / 0.7779 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.5047, allocations: 4.406 kB / 0.7779 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006665/0.5054, allocations: 53.77 kB / 0.7779 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-05/0.5055, allocations: 26.38 kB / 0.778 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.5056, allocations: 24.25 kB / 0.778 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.475e-05/0.5056, allocations: 81.53 kB / 0.7781 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5056, allocations: 0 / 0.7781 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003824/0.506, allocations: 60.19 kB / 0.7781 GB, free: 14.09 MB / 0.5606 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.0002107/0.5062, allocations: 113.4 kB / 0.7782 GB, free: 14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.5077, allocations: 424.1 kB / 0.7786 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5077, allocations: 0 / 0.7786 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007525/0.5085, allocations: 228.3 kB / 0.7788 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.5089, allocations: 7.531 kB / 0.7789 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.513, allocations: 0.7575 MB / 0.7796 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.5131, allocations: 0.6947 MB / 0.7803 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004993/0.5136, allocations: 88.39 kB / 0.7804 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.5139, allocations: 54.53 kB / 0.7804 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5139, allocations: 0 / 0.7804 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.006863/0.5207, allocations: 3.488 MB / 0.7838 GB, free: 12.7 MB / 0.5606 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)