Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9963/0.9963, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.954/1.954, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.434e-05, allocations: 5.828 kB / 0.7752 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.004459/0.004483, allocations: 0.6324 MB / 0.7758 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.006405, allocations: 1.476 MB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.006428, allocations: 0.5938 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.00644, allocations: 0.7188 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.219e-05/0.006473, allocations: 0.875 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004573/0.00693, allocations: 141.6 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.595e-05/0.006996, allocations: 29.61 kB / 0.7774 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.007031, allocations: 11.98 kB / 0.7774 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.72e-05/0.007088, allocations: 18.22 kB / 0.7775 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.08e-05/0.007159, allocations: 24.62 kB / 0.7775 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.007173, allocations: 0.5938 kB / 0.7775 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.0105, allocations: 251.5 kB / 0.7777 GB, free: 2.816 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.848e-05/0.01052, allocations: 8.594 kB / 0.7777 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.181e-05/0.01054, allocations: 16.98 kB / 0.7778 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.01079, allocations: 203.4 kB / 0.7779 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.0108, allocations: 0 / 0.7779 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.203e-06/0.0108, allocations: 1.438 kB / 0.7779 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.0108, allocations: 0 / 0.7779 GB, free: 2.594 MB / 0.7292 GB 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.0003388/0.01114, allocations: 264.3 kB / 0.7782 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.01118, allocations: 14 kB / 0.7782 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/0.01142, allocations: 55.22 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.471e-05/0.0115, allocations: 110.9 kB / 0.7784 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.01151, allocations: 384 / 0.7784 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.01153, allocations: 4.875 kB / 0.7784 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.01169, allocations: 108.3 kB / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.922e-06/0.0117, allocations: 192 / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.01171, allocations: 384 / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.01171, allocations: 7.922 kB / 0.7785 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.01175, allocations: 11.98 kB / 0.7785 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000102/0.01186, allocations: 65.05 kB / 0.7786 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.01202, allocations: 38.61 kB / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.01205, allocations: 23.67 kB / 0.7786 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.01221, allocations: 45.86 kB / 0.7787 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.01224, allocations: 34.5 kB / 0.7787 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.01224, allocations: 0 / 0.7787 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0004129/0.01266, allocations: 195 kB / 0.7789 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.01269, allocations: 55.41 kB / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.938e-05/0.01273, allocations: 103.5 kB / 0.779 GB, free: 1.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.01275, allocations: 34.39 kB / 0.7791 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.145e-05/0.01277, allocations: 84.08 kB / 0.7791 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.0128, allocations: 20.41 kB / 0.7792 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.01284, allocations: 17.72 kB / 0.7792 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.038e-05/0.01292, allocations: 324.6 kB / 0.7795 GB, free: 0.8477 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.078e-05/0.01294, allocations: 4 kB / 0.7795 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.01296, allocations: 8 kB / 0.7795 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.496e-05/0.013, allocations: 20.84 kB / 0.7795 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.01301, allocations: 0.6875 kB / 0.7795 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.19e-05/0.01309, allocations: 54.5 kB / 0.7796 GB, free: 0.7539 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.0131, allocations: 4 kB / 0.7796 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.0131, allocations: 0 / 0.7796 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.01312, allocations: 0.5312 kB / 0.7796 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002804/0.01592, allocations: 21.36 kB / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.01592, allocations: 0 / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.996e-05/0.01595, allocations: 16.73 kB / 0.7796 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.01596, allocations: 0.5312 kB / 0.7796 GB, free: 0.7148 MB / 0.7292 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 (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 5.32e-05/0.01601, allocations: 110.8 kB / 0.7797 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.155e-05/0.01602, allocations: 7.984 kB / 0.7797 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.01614, allocations: 68.75 kB / 0.7798 GB, free: 0.5234 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.01615, allocations: 4 kB / 0.7798 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01615, allocations: 1.094 kB / 0.7798 GB, free: 0.5195 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.01616, allocations: 3.938 kB / 0.7798 GB, free: 0.5156 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.132e-05/0.01624, allocations: 73.89 kB / 0.7799 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01624, allocations: 0.8438 kB / 0.7799 GB, free: 436 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/0.01631, allocations: 16.92 kB / 0.7799 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01631, allocations: 7.984 kB / 0.7799 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-06/0.01632, allocations: 0.7188 kB / 0.7799 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.01632, allocations: 0 / 0.7799 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01632, allocations: 1.906 kB / 0.7799 GB, free: 412 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.01644, allocations: 92.98 kB / 0.78 GB, free: 300 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.01646, allocations: 8 kB / 0.78 GB, free: 292 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.01648, allocations: 3.984 kB / 0.78 GB, free: 288 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.182e-05/0.01651, allocations: 5.094 kB / 0.78 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.01653, allocations: 7.984 kB / 0.78 GB, free: 276 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.01653, allocations: 0 / 0.78 GB, free: 276 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.165e-06/0.01654, allocations: 9.828 kB / 0.78 GB, free: 264 kB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01654, allocations: 0 / 0.78 GB, free: 264 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000123/0.01666, allocations: 41.61 kB / 0.7801 GB, free: 224 kB / 0.7292 GB 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.0001483/0.01681, allocations: 108.6 kB / 0.7802 GB, free: 108 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.368e-05/0.01688, allocations: 36.72 kB / 0.7802 GB, free: 68 kB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.01689, allocations: 5.094 kB / 0.7802 GB, free: 64 kB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.005e-05/0.01691, allocations: 17.09 kB / 0.7802 GB, free: 44 kB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.642e-05/0.01697, allocations: 6.469 kB / 0.7802 GB, free: 40 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002822/0.01726, allocations: 145.8 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.66e-05/0.01728, allocations: 55.36 kB / 0.7804 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.671e-05/0.01734, allocations: 24.81 kB / 0.7804 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.0174, allocations: 64.39 kB / 0.7805 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.0174, allocations: 0 / 0.7805 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of Templates: time 0.002795/0.0202, allocations: 1.331 MB / 0.7818 GB, free: 14.46 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.046529485844076]