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.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.001338/0.001338, allocations: 96.09 kB / 20.43 MB, free: 4.141 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.001265/0.001265, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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 1.038/1.038, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6617/0.6617, allocations: 115 MB / 375.7 MB, free: 7.648 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0.5469 kB / 481.6 MB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.211e-05/2.408e-05, allocations: 5.266 kB / 481.6 MB, free: 11.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001185/0.001209, allocations: 0.6187 MB / 482.2 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.002669, allocations: 1.483 MB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.645e-05/0.002696, allocations: 1.688 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.002713, allocations: 3.938 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.707e-05/0.00274, allocations: 0.6875 kB / 483.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004867/0.003227, allocations: 142.4 kB / 483.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.471e-05/0.003292, allocations: 26.77 kB / 483.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.003333, allocations: 2.125 kB / 483.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.939e-05/0.003393, allocations: 21.11 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.003464, allocations: 26.83 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.003482, allocations: 3.438 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.003783, allocations: 247.2 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.003802, allocations: 8.688 kB / 484.1 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.003825, allocations: 12.02 kB / 484.2 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.004087, allocations: 207.2 kB / 484.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.00409, allocations: 0 / 484.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004091, allocations: 1.656 kB / 484.4 MB, free: 10.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.004095, allocations: 0 / 484.4 MB, free: 10.23 MB / 410.7 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.0003515/0.004446, allocations: 394.3 kB / 484.7 MB, free: 9.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.004486, allocations: 8.562 kB / 484.8 MB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.004736, allocations: 51.28 kB / 484.8 MB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.895e-05/0.004795, allocations: 106.7 kB / 484.9 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.004809, allocations: 1.469 kB / 484.9 MB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.004836, allocations: 7.5 kB / 484.9 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.005002, allocations: 101.1 kB / 485 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.005007, allocations: 192 / 485 MB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.005021, allocations: 5.5 kB / 485 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.005028, allocations: 3.938 kB / 485 MB, free: 9.621 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.126e-05/0.005079, allocations: 19.8 kB / 485 MB, free: 9.617 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001155/0.005195, allocations: 128.6 kB / 485.2 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.005405, allocations: 57.48 kB / 485.2 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.005442, allocations: 21.03 kB / 485.3 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.00562, allocations: 50.95 kB / 485.3 MB, free: 9.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.005638, allocations: 35.7 kB / 485.3 MB, free: 9.371 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.005639, allocations: 0 / 485.3 MB, free: 9.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004357/0.006074, allocations: 220 kB / 485.6 MB, free: 9.184 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.684e-05/0.006091, allocations: 55.34 kB / 485.6 MB, free: 9.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.088e-05/0.006132, allocations: 157.1 kB / 485.8 MB, free: 8.953 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.00614, allocations: 33.64 kB / 485.8 MB, free: 8.914 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.624e-05/0.006157, allocations: 132.1 kB / 485.9 MB, free: 8.781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.00618, allocations: 13.2 kB / 485.9 MB, free: 8.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.006214, allocations: 29.59 kB / 486 MB, free: 8.742 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002586/0.006473, allocations: 498.4 kB / 486.4 MB, free: 24.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.83e-05/0.006511, allocations: 16.09 kB / 486.5 MB, free: 24.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.006536, allocations: 7.25 kB / 486.5 MB, free: 24.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.701e-05/0.006593, allocations: 37.31 kB / 486.5 MB, free: 24.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.006595, allocations: 1.344 kB / 486.5 MB, free: 24.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001/0.006695, allocations: 66.77 kB / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.006708, allocations: 5 kB / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.006712, allocations: 1.375 kB / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.006725, allocations: 0 / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.006804, allocations: 22.2 kB / 486.6 MB, free: 24.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.006809, allocations: 6 kB / 486.6 MB, free: 24.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.006842, allocations: 5.344 kB / 486.6 MB, free: 24.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.00685, allocations: 2.688 kB / 486.6 MB, free: 24.17 MB / 426.7 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 6.221e-05/0.006912, allocations: 161.4 kB / 486.8 MB, free: 24.01 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.307e-05/0.006925, allocations: 7.125 kB / 486.8 MB, free: 24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.007078, allocations: 86.83 kB / 486.9 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.007081, allocations: 1.219 kB / 486.9 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.007086, allocations: 8.922 kB / 486.9 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.007089, allocations: 1.531 kB / 486.9 MB, free: 23.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.522e-05/0.007154, allocations: 119.2 kB / 487 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007156, allocations: 2.344 kB / 487 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.757e-05/0.007233, allocations: 20.89 kB / 487 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.007236, allocations: 1.062 kB / 487 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.007246, allocations: 1.656 kB / 487 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.007247, allocations: 3.984 kB / 487 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.007249, allocations: 0.5625 kB / 487 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.007412, allocations: 127.9 kB / 487.1 MB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.38e-05/0.007446, allocations: 13.48 kB / 487.2 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.00746, allocations: 4.844 kB / 487.2 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.007499, allocations: 8.703 kB / 487.2 MB, free: 23.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.007522, allocations: 10.12 kB / 487.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.00753, allocations: 5.562 kB / 487.2 MB, free: 23.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.705e-05/0.007567, allocations: 121.2 kB / 487.3 MB, free: 23.56 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007567, allocations: 1.25 kB / 487.3 MB, free: 23.56 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001633/0.00773, allocations: 32.69 kB / 487.3 MB, free: 23.55 MB / 426.7 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.0001382/0.007868, allocations: 129 kB / 487.5 MB, free: 23.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.007981, allocations: 38.36 kB / 487.5 MB, free: 23.44 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.007983, allocations: 1.906 kB / 487.5 MB, free: 23.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.577e-05/0.008019, allocations: 36.12 kB / 487.5 MB, free: 23.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.008148, allocations: 4.781 kB / 487.5 MB, free: 23.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000325/0.008473, allocations: 155.5 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.133e-05/0.008494, allocations: 55.17 kB / 487.8 MB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.551e-05/0.00855, allocations: 16.97 kB / 487.8 MB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.796e-05/0.008588, allocations: 15.77 kB / 487.8 MB, free: 23.21 MB / 426.7 MB Notification: Performance of SimCode: time 7.11e-07/0.008589, allocations: 0.9688 kB / 487.8 MB, free: 23.21 MB / 426.7 MB Notification: Performance of Templates: time 0.002837/0.01143, allocations: 1.214 MB / 489 MB, free: 23.12 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.774049886967987]