Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00104/0.00104, allocations: 101.8 kB / 15.98 MB, free: 6.344 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.001069/0.001069, allocations: 194.1 kB / 16.91 MB, free: 6.195 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8209/0.8209, allocations: 126.1 MB / 416.8 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 63.89 kB / 0.4945 GB, free: 3.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3808/0.3822, allocations: 78.69 MB / 0.5713 GB, free: 31.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002178/0.3844, allocations: 0.8341 MB / 0.5721 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001813/0.3863, allocations: 1.476 MB / 0.5736 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.22e-05/0.3863, allocations: 1.062 kB / 0.5736 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.603e-05/0.3864, allocations: 0.6562 kB / 0.5736 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.3864, allocations: 6.25 kB / 0.5736 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.3869, allocations: 114.9 kB / 0.5737 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.186e-05/0.387, allocations: 57.09 kB / 0.5738 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.3871, allocations: 5.688 kB / 0.5738 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.717e-05/0.3872, allocations: 28.06 kB / 0.5738 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.63e-05/0.3872, allocations: 30.28 kB / 0.5738 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.3873, allocations: 5.312 kB / 0.5738 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004681/0.3877, allocations: 321 kB / 0.5741 GB, free: 29.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.109e-05/0.3878, allocations: 15.25 kB / 0.5741 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.3878, allocations: 26.41 kB / 0.5742 GB, free: 29.49 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003265/0.3881, allocations: 204.3 kB / 0.5744 GB, free: 29.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3881, allocations: 5.781 kB / 0.5744 GB, free: 29.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3882, allocations: 0.5625 kB / 0.5744 GB, free: 29.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3882, allocations: 2.875 kB / 0.5744 GB, free: 29.43 MB / 446.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.0006542/0.3888, allocations: 400.9 kB / 0.5748 GB, free: 29.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3889, allocations: 10.25 kB / 0.5748 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004969/0.3894, allocations: 74.81 kB / 0.5748 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.381e-05/0.3895, allocations: 168.7 kB / 0.575 GB, free: 28.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.3895, allocations: 8.5 kB / 0.575 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.3896, allocations: 4.875 kB / 0.575 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.39, allocations: 114.3 kB / 0.5751 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.39, allocations: 5.281 kB / 0.5751 GB, free: 28.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.39, allocations: 5.125 kB / 0.5751 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.39, allocations: 6.094 kB / 0.5751 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.3905, allocations: 107.5 kB / 0.5752 GB, free: 28.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.3911, allocations: 326 kB / 0.5756 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.3918, allocations: 159 kB / 0.5757 GB, free: 28.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.392, allocations: 56.36 kB / 0.5758 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3921, allocations: 5.516 kB / 0.5758 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3921, allocations: 33.69 kB / 0.5758 GB, free: 28.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3921, allocations: 3.938 kB / 0.5758 GB, free: 28.36 MB / 446.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.01889/0.411, allocations: 2.831 MB / 0.5786 GB, free: 26.92 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.411, allocations: 61.44 kB / 0.5786 GB, free: 26.85 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.029e-05/0.4111, allocations: 102.2 kB / 0.5787 GB, free: 26.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.4112, allocations: 26.67 kB / 0.5787 GB, free: 26.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.355e-05/0.4112, allocations: 90.3 kB / 0.5788 GB, free: 26.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.4113, allocations: 40.64 kB / 0.5789 GB, free: 26.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001667/0.4115, allocations: 68.89 kB / 0.5789 GB, free: 26.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.913e-05/0.4115, allocations: 319.9 kB / 0.5792 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006751/0.4122, allocations: 193.3 kB / 0.5794 GB, free: 26.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/0.4128, allocations: 193.4 kB / 0.5796 GB, free: 26.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/0.4141, allocations: 393.7 kB / 0.58 GB, free: 25.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4141, allocations: 4 kB / 0.58 GB, free: 25.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001446/0.4156, allocations: 479.4 kB / 0.5804 GB, free: 25.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.4156, allocations: 4.781 kB / 0.5804 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4156, allocations: 1.438 kB / 0.5805 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4156, allocations: 0 / 0.5805 GB, free: 25.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008479/0.4165, allocations: 115.4 kB / 0.5806 GB, free: 25.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4165, allocations: 7.922 kB / 0.5806 GB, free: 25.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005991/0.4171, allocations: 46.88 kB / 0.5806 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.4172, allocations: 23.78 kB / 0.5806 GB, free: 25.46 MB / 446.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.0001321/0.4173, allocations: 114.5 kB / 0.5807 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.1e-05/0.4174, allocations: 2.844 kB / 0.5807 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.4174, allocations: 11.78 kB / 0.5808 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4175, allocations: 0 / 0.5808 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.4175, allocations: 11.92 kB / 0.5808 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4175, allocations: 0 / 0.5808 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.4194, allocations: 1.043 MB / 0.5818 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4194, allocations: 3.938 kB / 0.5818 GB, free: 24.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/0.4202, allocations: 110.1 kB / 0.5819 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.4202, allocations: 3.938 kB / 0.5819 GB, free: 24.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/0.4203, allocations: 25.2 kB / 0.5819 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.4203, allocations: 1.016 kB / 0.5819 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4203, allocations: 1.531 kB / 0.5819 GB, free: 24.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.4227, allocations: 0.7916 MB / 0.5827 GB, free: 23.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.4228, allocations: 124.2 kB / 0.5828 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.4229, allocations: 1.25 kB / 0.5828 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/0.4236, allocations: 51.09 kB / 0.5829 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.4238, allocations: 30.11 kB / 0.5829 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.496e-05/0.4238, allocations: 21.97 kB / 0.5829 GB, free: 23.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.659e-05/0.4239, allocations: 95.56 kB / 0.583 GB, free: 23.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4239, allocations: 0 / 0.583 GB, free: 23.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000431/0.4243, allocations: 54.31 kB / 0.5831 GB, free: 23.57 MB / 446.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.0002348/0.4245, allocations: 107.5 kB / 0.5832 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.4259, allocations: 428 kB / 0.5836 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4259, allocations: 5.406 kB / 0.5836 GB, free: 23.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006604/0.4266, allocations: 225.4 kB / 0.5838 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.427, allocations: 7.812 kB / 0.5838 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004071/0.4311, allocations: 0.7708 MB / 0.5846 GB, free: 22.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.4312, allocations: 0.6907 MB / 0.5852 GB, free: 21.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007062/0.4319, allocations: 87.3 kB / 0.5853 GB, free: 21.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.4322, allocations: 55.45 kB / 0.5854 GB, free: 21.83 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4322, allocations: 0 / 0.5854 GB, free: 21.83 MB / 446.1 MB Notification: Performance of Templates: time 0.00889/0.4411, allocations: 3.471 MB / 0.5888 GB, free: 19.99 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)