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.001538/0.001538, allocations: 115.1 kB / 17.08 MB, free: 5.988 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.002009/0.002009, allocations: 196.7 kB / 18.02 MB, free: 5.062 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.362/1.362, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7786/0.7786, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.88 kB / 0.5584 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1694, allocations: 76.19 MB / 0.6328 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.003326/0.1728, allocations: 0.7768 MB / 0.6335 GB, free: 3.578 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/0.1756, allocations: 1.478 MB / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.1757, allocations: 0 / 0.635 GB, free: 2.082 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.1758, allocations: 3.938 kB / 0.635 GB, free: 2.078 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.708e-05/0.1758, allocations: 3.938 kB / 0.635 GB, free: 2.074 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007086/0.1765, allocations: 143.4 kB / 0.6351 GB, free: 1.934 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.1767, allocations: 47.95 kB / 0.6352 GB, free: 1.887 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.65e-05/0.1767, allocations: 7.984 kB / 0.6352 GB, free: 1.879 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.411e-05/0.1768, allocations: 27.91 kB / 0.6352 GB, free: 1.852 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.1769, allocations: 31.84 kB / 0.6352 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.1769, allocations: 12 kB / 0.6353 GB, free: 1.809 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.1775, allocations: 315.3 kB / 0.6356 GB, free: 1.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.1775, allocations: 11.98 kB / 0.6356 GB, free: 1.488 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.177e-05/0.1776, allocations: 27.86 kB / 0.6356 GB, free: 1.461 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.178, allocations: 219.4 kB / 0.6358 GB, free: 1.246 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.178, allocations: 0 / 0.6358 GB, free: 1.246 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.178, allocations: 0 / 0.6358 GB, free: 1.246 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.178, allocations: 0 / 0.6358 GB, free: 1.246 MB / 478.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.0007324/0.1788, allocations: 399.4 kB / 0.6362 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1788, allocations: 12.03 kB / 0.6362 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004886/0.1793, allocations: 72.75 kB / 0.6363 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.1795, allocations: 168.4 kB / 0.6364 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.1795, allocations: 4.375 kB / 0.6364 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1795, allocations: 8.375 kB / 0.6364 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.1799, allocations: 109.9 kB / 0.6365 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1799, allocations: 7.938 kB / 0.6366 GB, free: 400 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.18, allocations: 3.984 kB / 0.6366 GB, free: 396 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.18, allocations: 3.938 kB / 0.6366 GB, free: 392 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.1805, allocations: 103.9 kB / 0.6367 GB, free: 288 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006406/0.1811, allocations: 336.6 kB / 0.637 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006489/0.1818, allocations: 162.4 kB / 0.6371 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002276/0.182, allocations: 48.97 kB / 0.6372 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.182, allocations: 3.984 kB / 0.6372 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.1821, allocations: 42.56 kB / 0.6372 GB, free: 15.63 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.1821, allocations: 0 / 0.6372 GB, free: 15.63 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.01776/0.1998, allocations: 2.822 MB / 0.64 GB, free: 12.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.2, allocations: 59.34 kB / 0.64 GB, free: 12.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.2001, allocations: 105.8 kB / 0.6401 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.2002, allocations: 29.7 kB / 0.6402 GB, free: 12.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.684e-05/0.2002, allocations: 92.05 kB / 0.6403 GB, free: 12.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.779e-05/0.2003, allocations: 35.45 kB / 0.6403 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001993/0.2005, allocations: 73.52 kB / 0.6404 GB, free: 12.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2007, allocations: 318.8 kB / 0.6407 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007014/0.2014, allocations: 187.8 kB / 0.6408 GB, free: 11.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/0.2021, allocations: 201.9 kB / 0.641 GB, free: 11.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.2035, allocations: 384.5 kB / 0.6414 GB, free: 11.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2035, allocations: 0 / 0.6414 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001583/0.2051, allocations: 480.3 kB / 0.6419 GB, free: 10.73 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.2051, allocations: 4 kB / 0.6419 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.2051, allocations: 0 / 0.6419 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.2052, allocations: 15.92 kB / 0.6419 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008131/0.206, allocations: 103.8 kB / 0.642 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.206, allocations: 3.938 kB / 0.642 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.2066, allocations: 47.94 kB / 0.642 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.2067, allocations: 19.94 kB / 0.642 GB, free: 10.54 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.0001727/0.2068, allocations: 117.8 kB / 0.6422 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.2069, allocations: 7.906 kB / 0.6422 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.569e-05/0.207, allocations: 15.95 kB / 0.6422 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.207, allocations: 0 / 0.6422 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.207, allocations: 7.938 kB / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.207, allocations: 0 / 0.6422 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002351/0.2094, allocations: 1.047 MB / 0.6432 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.2094, allocations: 0 / 0.6432 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008033/0.2102, allocations: 107.8 kB / 0.6433 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.2103, allocations: 8.031 kB / 0.6433 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/0.2103, allocations: 23.88 kB / 0.6433 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2103, allocations: 0 / 0.6433 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2103, allocations: 3.938 kB / 0.6433 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.2128, allocations: 0.7995 MB / 0.6441 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001586/0.2129, allocations: 116.9 kB / 0.6442 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.213, allocations: 4 kB / 0.6442 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/0.2137, allocations: 48 kB / 0.6443 GB, free: 8.082 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/0.2138, allocations: 28.11 kB / 0.6443 GB, free: 8.055 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-05/0.2139, allocations: 27.92 kB / 0.6443 GB, free: 8.027 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.432e-05/0.2139, allocations: 87.27 kB / 0.6444 GB, free: 7.941 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2139, allocations: 0 / 0.6444 GB, free: 7.941 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003879/0.2143, allocations: 44 kB / 0.6445 GB, free: 7.898 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.0002341/0.2146, allocations: 119.2 kB / 0.6446 GB, free: 7.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.2161, allocations: 419.5 kB / 0.645 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.2161, allocations: 4 kB / 0.645 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007237/0.2168, allocations: 224 kB / 0.6452 GB, free: 7.141 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.2171, allocations: 15.83 kB / 0.6452 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004313/0.2215, allocations: 0.7847 MB / 0.646 GB, free: 6.312 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.2218, allocations: 0.6885 MB / 0.6467 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/0.2222, allocations: 79.23 kB / 0.6467 GB, free: 5.52 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2222, allocations: 0 / 0.6467 GB, free: 5.52 MB / 494.1 MB Notification: Performance of Templates: time 0.006946/0.2292, allocations: 3.78 MB / 0.6504 GB, free: 1.727 MB / 494.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)