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.00108/0.00108, allocations: 104.8 kB / 16.27 MB, free: 5.93 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.001161/0.001161, allocations: 191.6 kB / 17.2 MB, free: 5.574 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.392/1.392, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7682/0.7682, allocations: 126.1 MB / 417.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 0.495 GB, free: 3.477 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3763, allocations: 78.69 MB / 0.5718 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001828/0.3782, allocations: 0.7693 MB / 0.5726 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3797, allocations: 1.47 MB / 0.574 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.02e-05/0.3797, allocations: 1.031 kB / 0.574 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.3797, allocations: 7.875 kB / 0.574 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.369e-05/0.3798, allocations: 1.094 kB / 0.574 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004635/0.3803, allocations: 148.7 kB / 0.5742 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.669e-05/0.3803, allocations: 51.88 kB / 0.5742 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.3804, allocations: 3.641 kB / 0.5742 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.967e-05/0.3805, allocations: 32.92 kB / 0.5742 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.376e-05/0.3805, allocations: 30.8 kB / 0.5743 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.3806, allocations: 3.562 kB / 0.5743 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.381, allocations: 322.4 kB / 0.5746 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.177e-05/0.3811, allocations: 14.67 kB / 0.5746 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.3811, allocations: 23.5 kB / 0.5746 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003281/0.3814, allocations: 215 kB / 0.5748 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3814, allocations: 1.281 kB / 0.5748 GB, free: 29.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3814, allocations: 1.188 kB / 0.5748 GB, free: 29.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.3815, allocations: 0 / 0.5748 GB, free: 29.46 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.0005699/0.382, allocations: 398.9 kB / 0.5752 GB, free: 29.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.3821, allocations: 9.609 kB / 0.5752 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004754/0.3825, allocations: 73.2 kB / 0.5753 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.518e-05/0.3826, allocations: 176.4 kB / 0.5755 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.3827, allocations: 7.562 kB / 0.5755 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.3827, allocations: 9.906 kB / 0.5755 GB, free: 28.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.3831, allocations: 109.7 kB / 0.5756 GB, free: 28.81 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.3831, allocations: 4.406 kB / 0.5756 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3831, allocations: 6.422 kB / 0.5756 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3831, allocations: 1.672 kB / 0.5756 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/0.3836, allocations: 103.1 kB / 0.5757 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.3841, allocations: 335.5 kB / 0.576 GB, free: 28.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.3848, allocations: 155 kB / 0.5762 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002422/0.385, allocations: 55.83 kB / 0.5762 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3851, allocations: 2.781 kB / 0.5762 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.3851, allocations: 36.53 kB / 0.5763 GB, free: 28.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3851, allocations: 0 / 0.5763 GB, free: 28.39 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.01832/0.4034, allocations: 2.836 MB / 0.579 GB, free: 26.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.4035, allocations: 57.66 kB / 0.5791 GB, free: 26.81 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.4036, allocations: 98.62 kB / 0.5792 GB, free: 26.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.4036, allocations: 31.2 kB / 0.5792 GB, free: 26.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.4037, allocations: 85.45 kB / 0.5793 GB, free: 26.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.823e-05/0.4037, allocations: 43.98 kB / 0.5793 GB, free: 26.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.4039, allocations: 77.39 kB / 0.5794 GB, free: 26.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.45e-05/0.404, allocations: 316.2 kB / 0.5797 GB, free: 26.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000652/0.4046, allocations: 193.1 kB / 0.5799 GB, free: 26.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/0.4053, allocations: 193.9 kB / 0.5801 GB, free: 25.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.4066, allocations: 399.3 kB / 0.5804 GB, free: 25.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4066, allocations: 1.344 kB / 0.5804 GB, free: 25.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001487/0.4081, allocations: 472 kB / 0.5809 GB, free: 25.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.4082, allocations: 8.906 kB / 0.5809 GB, free: 25.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.4082, allocations: 7.984 kB / 0.5809 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.4082, allocations: 2 kB / 0.5809 GB, free: 25.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000816/0.409, allocations: 105.2 kB / 0.581 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.409, allocations: 3.938 kB / 0.581 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006246/0.4097, allocations: 46.5 kB / 0.5811 GB, free: 25.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.4097, allocations: 27.03 kB / 0.5811 GB, free: 25.42 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.0001726/0.4099, allocations: 116.5 kB / 0.5812 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.441e-05/0.41, allocations: 7.531 kB / 0.5812 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.4101, allocations: 17.77 kB / 0.5812 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.4101, allocations: 1.844 kB / 0.5812 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.4101, allocations: 3.938 kB / 0.5812 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.4101, allocations: 0 / 0.5812 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002475/0.4126, allocations: 1.053 MB / 0.5823 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.4126, allocations: 1.5 kB / 0.5823 GB, free: 24.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/0.4134, allocations: 104.4 kB / 0.5824 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4135, allocations: 5.25 kB / 0.5824 GB, free: 24.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.4135, allocations: 28.5 kB / 0.5824 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-06/0.4135, allocations: 0 / 0.5824 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4135, allocations: 5.531 kB / 0.5824 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.4159, allocations: 0.7896 MB / 0.5832 GB, free: 23.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.416, allocations: 119.5 kB / 0.5833 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.4161, allocations: 5.312 kB / 0.5833 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000641/0.4168, allocations: 46.16 kB / 0.5833 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4169, allocations: 31.36 kB / 0.5834 GB, free: 23.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.4169, allocations: 30.55 kB / 0.5834 GB, free: 23.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.87e-05/0.417, allocations: 82.02 kB / 0.5835 GB, free: 23.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.417, allocations: 0 / 0.5835 GB, free: 23.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.4174, allocations: 55.84 kB / 0.5835 GB, free: 23.52 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.0002242/0.4176, allocations: 110.3 kB / 0.5836 GB, free: 23.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.4192, allocations: 429.2 kB / 0.584 GB, free: 23.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4192, allocations: 0 / 0.584 GB, free: 23.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007482/0.4199, allocations: 221.3 kB / 0.5842 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.4203, allocations: 11.53 kB / 0.5843 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/0.4244, allocations: 0.7541 MB / 0.585 GB, free: 22.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001293/0.4246, allocations: 0.6947 MB / 0.5857 GB, free: 21.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006263/0.4252, allocations: 91.25 kB / 0.5858 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.4254, allocations: 55.19 kB / 0.5858 GB, free: 21.8 MB / 446.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4254, allocations: 3.938 kB / 0.5858 GB, free: 21.8 MB / 446.1 MB Notification: Performance of Templates: time 0.005655/0.4311, allocations: 3.463 MB / 0.5892 GB, free: 19.96 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)