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.0009794/0.0009794, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.00112/0.00112, allocations: 169 kB / 24.05 MB, free: 456 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.9889/0.9889, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.684/0.684, allocations: 115 MB / 376 MB, free: 7.516 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 2.154e-06/2.154e-06, allocations: 0 / 482 MB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.992e-05, allocations: 2.312 kB / 482 MB, free: 11.67 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001954/0.001984, allocations: 0.6225 MB / 482.6 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.003498, allocations: 1.46 MB / 484.1 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.287e-05/0.00353, allocations: 0.7812 kB / 484.1 MB, free: 10.31 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.003549, allocations: 5.094 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.097e-05/0.00358, allocations: 0.75 kB / 484.1 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.00413, allocations: 142.8 kB / 484.3 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.1e-05/0.004191, allocations: 30.42 kB / 484.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.004226, allocations: 5.281 kB / 484.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.583e-05/0.004291, allocations: 22.58 kB / 484.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.004357, allocations: 19.61 kB / 484.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.004373, allocations: 2 kB / 484.3 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002993/0.004673, allocations: 252.1 kB / 484.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.00469, allocations: 5.609 kB / 484.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.14e-05/0.004712, allocations: 12.72 kB / 484.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.004958, allocations: 206.8 kB / 484.8 MB, free: 10.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.00496, allocations: 0 / 484.8 MB, free: 10.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.004961, allocations: 0.6875 kB / 484.8 MB, free: 10.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.536e-06/0.004965, allocations: 0 / 484.8 MB, free: 10.1 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.000329/0.005294, allocations: 397.5 kB / 485.2 MB, free: 9.707 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.005334, allocations: 11.09 kB / 485.2 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.005551, allocations: 50.45 kB / 485.2 MB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.368e-05/0.005605, allocations: 109.8 kB / 485.4 MB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.005618, allocations: 5.688 kB / 485.4 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.005636, allocations: 4.656 kB / 485.4 MB, free: 9.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.005773, allocations: 97.97 kB / 485.5 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.00578, allocations: 1.781 kB / 485.5 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.005788, allocations: 1.562 kB / 485.5 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.005795, allocations: 5.156 kB / 485.5 MB, free: 9.488 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.655e-05/0.005832, allocations: 16.23 kB / 485.5 MB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.005947, allocations: 114.1 kB / 485.6 MB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.00611, allocations: 59.53 kB / 485.7 MB, free: 9.316 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.518e-05/0.006135, allocations: 16.12 kB / 485.7 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.006296, allocations: 53.56 kB / 485.7 MB, free: 9.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.006317, allocations: 39.73 kB / 485.8 MB, free: 9.258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.006319, allocations: 1.781 kB / 485.8 MB, free: 9.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003752/0.006694, allocations: 203.1 kB / 486 MB, free: 9.078 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.00672, allocations: 53.41 kB / 486 MB, free: 9.016 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.173e-05/0.006782, allocations: 164.3 kB / 486.2 MB, free: 8.844 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.006794, allocations: 25.7 kB / 486.2 MB, free: 8.812 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.007046, allocations: 129 kB / 486.3 MB, free: 24.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.007084, allocations: 17.95 kB / 486.3 MB, free: 24.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.007128, allocations: 25.7 kB / 486.4 MB, free: 24.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.007243, allocations: 0.4894 MB / 486.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.898e-05/0.007272, allocations: 13.75 kB / 486.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.243e-05/0.007294, allocations: 10.12 kB / 486.9 MB, free: 24.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.081e-05/0.007345, allocations: 26.86 kB / 486.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.007347, allocations: 5.156 kB / 486.9 MB, free: 24.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.854e-05/0.007435, allocations: 59.34 kB / 487 MB, free: 24.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.00745, allocations: 5.531 kB / 487 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.007456, allocations: 0 / 487 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.007468, allocations: 0.9062 kB / 487 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.811e-05/0.007547, allocations: 24.33 kB / 487 MB, free: 24.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.00755, allocations: 6.188 kB / 487 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.336e-05/0.007583, allocations: 8.188 kB / 487 MB, free: 24.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.00759, allocations: 2.156 kB / 487 MB, free: 24.07 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.672e-05/0.007656, allocations: 159.1 kB / 487.2 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.00767, allocations: 3.344 kB / 487.2 MB, free: 23.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001443/0.007814, allocations: 86.86 kB / 487.3 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.007817, allocations: 0 / 487.3 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.00782, allocations: 1.828 kB / 487.3 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.007824, allocations: 3.938 kB / 487.3 MB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.268e-05/0.007897, allocations: 112.3 kB / 487.4 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.007899, allocations: 0 / 487.4 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.00797, allocations: 18.55 kB / 487.4 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.007974, allocations: 5.047 kB / 487.4 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.007981, allocations: 1.562 kB / 487.4 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.007982, allocations: 0 / 487.4 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.007984, allocations: 0.9688 kB / 487.4 MB, free: 23.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.008128, allocations: 115.9 kB / 487.5 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.00816, allocations: 13.64 kB / 487.5 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.008172, allocations: 192 / 487.5 MB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.689e-05/0.008209, allocations: 12.39 kB / 487.5 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.008228, allocations: 6.484 kB / 487.5 MB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.008234, allocations: 3.188 kB / 487.5 MB, free: 23.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.041e-05/0.008274, allocations: 119.7 kB / 487.7 MB, free: 23.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008274, allocations: 1.594 kB / 487.7 MB, free: 23.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001648/0.008439, allocations: 38.88 kB / 487.7 MB, free: 23.5 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.0001629/0.008602, allocations: 126.9 kB / 487.8 MB, free: 23.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001032/0.008705, allocations: 37.86 kB / 487.9 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.008709, allocations: 0.7188 kB / 487.9 MB, free: 23.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.894e-05/0.008748, allocations: 28.17 kB / 487.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001167/0.008864, allocations: 7.25 kB / 487.9 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000286/0.00915, allocations: 151.9 kB / 488.1 MB, free: 23.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.178e-05/0.009172, allocations: 58.31 kB / 488.1 MB, free: 23.16 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.009228, allocations: 15.78 kB / 488.1 MB, free: 23.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/0.009296, allocations: 82.47 kB / 488.2 MB, free: 23.09 MB / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009296, allocations: 1.438 kB / 488.2 MB, free: 23.09 MB / 426.7 MB Notification: Performance of Templates: time 0.003603/0.0129, allocations: 1.321 MB / 489.5 MB, free: 23 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.5573305459693074]