Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.001116, allocations: 93.5 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009129/0.0009129, allocations: 173.6 kB / 16.91 MB, free: 6.691 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6986/0.6986, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005927/0.0005931, allocations: 12.69 kB / 495.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.193, allocations: 77.52 MB / 0.5599 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0009016/0.194, allocations: 334.3 kB / 0.5603 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.1963, allocations: 1.451 MB / 0.5617 GB, free: 7.262 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.1964, allocations: 3.938 kB / 0.5617 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.1964, allocations: 0 / 0.5617 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.178e-05/0.1964, allocations: 3.938 kB / 0.5617 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005395/0.197, allocations: 114.3 kB / 0.5618 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.1971, allocations: 27.92 kB / 0.5618 GB, free: 7.117 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.151e-05/0.1971, allocations: 4 kB / 0.5618 GB, free: 7.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.154e-05/0.1972, allocations: 19.92 kB / 0.5618 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.765e-05/0.1973, allocations: 23.95 kB / 0.5619 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.1973, allocations: 0 / 0.5619 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005046/0.1978, allocations: 315.4 kB / 0.5622 GB, free: 6.762 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.1978, allocations: 7.984 kB / 0.5622 GB, free: 6.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.1979, allocations: 41.62 kB / 0.5622 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.1983, allocations: 187.6 kB / 0.5624 GB, free: 6.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1983, allocations: 4 kB / 0.5624 GB, free: 6.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1983, allocations: 0 / 0.5624 GB, free: 6.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1983, allocations: 0 / 0.5624 GB, free: 6.52 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007189/0.1991, allocations: 361.5 kB / 0.5627 GB, free: 6.121 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.1991, allocations: 8.031 kB / 0.5628 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005086/0.1996, allocations: 84.77 kB / 0.5628 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1998, allocations: 164.4 kB / 0.563 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.1998, allocations: 4.375 kB / 0.563 GB, free: 5.828 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.1999, allocations: 4.359 kB / 0.563 GB, free: 5.824 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.2002, allocations: 89.89 kB / 0.5631 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2002, allocations: 0 / 0.5631 GB, free: 5.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.2002, allocations: 4 kB / 0.5631 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2002, allocations: 0 / 0.5631 GB, free: 5.727 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.2006, allocations: 79.92 kB / 0.5632 GB, free: 5.648 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.2008, allocations: 161.7 kB / 0.5633 GB, free: 5.441 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.2014, allocations: 138.5 kB / 0.5635 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.2016, allocations: 56.91 kB / 0.5635 GB, free: 5.238 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004946/0.2021, allocations: 173 kB / 0.5637 GB, free: 5.051 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.2022, allocations: 38.5 kB / 0.5637 GB, free: 5.004 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.2022, allocations: 0 / 0.5637 GB, free: 5.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.001414/0.2036, allocations: 434.2 kB / 0.5641 GB, free: 4.527 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.2037, allocations: 51.41 kB / 0.5642 GB, free: 4.465 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.52e-05/0.2038, allocations: 101.8 kB / 0.5643 GB, free: 4.355 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.2038, allocations: 29.7 kB / 0.5643 GB, free: 4.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.2039, allocations: 88.06 kB / 0.5644 GB, free: 4.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/0.2039, allocations: 15.75 kB / 0.5644 GB, free: 4.215 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.204, allocations: 17.7 kB / 0.5644 GB, free: 4.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2041, allocations: 314.8 kB / 0.5647 GB, free: 3.875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001856/0.2043, allocations: 40.09 kB / 0.5648 GB, free: 3.836 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001617/0.2045, allocations: 47.91 kB / 0.5648 GB, free: 3.789 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/0.2048, allocations: 96.92 kB / 0.5649 GB, free: 3.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2048, allocations: 0 / 0.5649 GB, free: 3.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004124/0.2053, allocations: 133.5 kB / 0.565 GB, free: 3.555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.2053, allocations: 4 kB / 0.565 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.2053, allocations: 0 / 0.565 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2053, allocations: 4 kB / 0.565 GB, free: 3.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.2055, allocations: 27.97 kB / 0.5651 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.2055, allocations: 4 kB / 0.5651 GB, free: 3.516 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.2056, allocations: 11.98 kB / 0.5651 GB, free: 3.504 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.2056, allocations: 4 kB / 0.5651 GB, free: 3.5 MB / 430.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 (6): * Single equations (assignments): 6 * 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.0001113/0.2058, allocations: 113.8 kB / 0.5652 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.2058, allocations: 11.88 kB / 0.5652 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005024/0.2063, allocations: 145.2 kB / 0.5653 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2063, allocations: 0 / 0.5653 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2063, allocations: 0 / 0.5653 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2063, allocations: 0 / 0.5653 GB, free: 3.223 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001829/0.2065, allocations: 169.7 kB / 0.5655 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.2065, allocations: 0 / 0.5655 GB, free: 3.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.2067, allocations: 27.91 kB / 0.5655 GB, free: 2.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.748e-06/0.2067, allocations: 8 kB / 0.5655 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.2067, allocations: 0 / 0.5655 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.2068, allocations: 0 / 0.5655 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2068, allocations: 336 / 0.5655 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/0.2074, allocations: 209 kB / 0.5657 GB, free: 2.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.702e-05/0.2075, allocations: 92.97 kB / 0.5658 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.2076, allocations: 8.156 kB / 0.5658 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2077, allocations: 19.98 kB / 0.5658 GB, free: 2.613 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.2078, allocations: 12.06 kB / 0.5659 GB, free: 2.602 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.2078, allocations: 3.938 kB / 0.5659 GB, free: 2.598 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.784e-05/0.2078, allocations: 79.28 kB / 0.5659 GB, free: 2.52 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2078, allocations: 0 / 0.5659 GB, free: 2.52 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.2081, allocations: 27.98 kB / 0.566 GB, free: 2.492 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002811/0.2083, allocations: 131.2 kB / 0.5661 GB, free: 2.352 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.2088, allocations: 104 kB / 0.5662 GB, free: 2.25 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2088, allocations: 0 / 0.5662 GB, free: 2.25 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.209, allocations: 43.97 kB / 0.5662 GB, free: 2.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.2091, allocations: 15.88 kB / 0.5662 GB, free: 2.191 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007097/0.2099, allocations: 200.6 kB / 0.5664 GB, free: 1.973 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.2102, allocations: 0.6809 MB / 0.5671 GB, free: 1.266 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.2103, allocations: 19.98 kB / 0.5671 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.128e-05/0.2104, allocations: 15.38 kB / 0.5671 GB, free: 1.23 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2104, allocations: 4 kB / 0.5671 GB, free: 1.227 MB / 430.1 MB Notification: Performance of Templates: time 0.005359/0.2158, allocations: 1.103 MB / 0.5682 GB, free: 136 kB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)