Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001139/0.001139, allocations: 75.75 kB / 20.75 MB, free: 3.734 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.001272/0.001272, allocations: 165 kB / 24.17 MB, free: 328 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 1.027/1.027, allocations: 177.1 MB / 204.6 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.6786/0.6786, allocations: 110.3 MB / 371.3 MB, free: 12.39 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 422.5 MB, free: 9.285 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.139e-05, allocations: 6.25 kB / 422.5 MB, free: 9.277 MB / 394.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001229/0.00125, allocations: 0.6621 MB / 423.2 MB, free: 8.613 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001462/0.002712, allocations: 1.47 MB / 424.6 MB, free: 7.125 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.002734, allocations: 0 / 424.6 MB, free: 7.125 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.002748, allocations: 4 kB / 424.6 MB, free: 7.121 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 3.041e-05/0.002778, allocations: 3.938 kB / 424.6 MB, free: 7.117 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003838/0.003162, allocations: 143.3 kB / 424.8 MB, free: 6.977 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.69e-05/0.003219, allocations: 31.97 kB / 424.8 MB, free: 6.945 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.057e-05/0.00325, allocations: 0 / 424.8 MB, free: 6.945 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.78e-05/0.003307, allocations: 23.92 kB / 424.8 MB, free: 6.922 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.521e-05/0.003373, allocations: 27.94 kB / 424.9 MB, free: 6.895 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.003386, allocations: 4 kB / 424.9 MB, free: 6.891 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.003675, allocations: 255.5 kB / 425.1 MB, free: 6.641 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.00369, allocations: 3.984 kB / 425.1 MB, free: 6.637 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.003706, allocations: 11.98 kB / 425.1 MB, free: 6.625 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.003919, allocations: 199.5 kB / 425.3 MB, free: 6.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003921, allocations: 0 / 425.3 MB, free: 6.43 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.003921, allocations: 0 / 425.3 MB, free: 6.43 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.003925, allocations: 4 kB / 425.3 MB, free: 6.426 MB / 394.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.0003081/0.004233, allocations: 272.6 kB / 425.6 MB, free: 6.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.004264, allocations: 15.83 kB / 425.6 MB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.004473, allocations: 52.81 kB / 425.7 MB, free: 6.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.502e-05/0.004548, allocations: 113.8 kB / 425.8 MB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.004559, allocations: 384 / 425.8 MB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.004574, allocations: 4.375 kB / 425.8 MB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.004712, allocations: 100.6 kB / 425.9 MB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-06/0.004719, allocations: 192 / 425.9 MB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.004727, allocations: 4.312 kB / 425.9 MB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.004733, allocations: 3.938 kB / 425.9 MB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.004767, allocations: 11.98 kB / 425.9 MB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.402e-05/0.004861, allocations: 69.03 kB / 426 MB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/0.005009, allocations: 50.53 kB / 426 MB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.005032, allocations: 12.86 kB / 426 MB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/0.005171, allocations: 52.03 kB / 426.1 MB, free: 5.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.898e-05/0.005189, allocations: 30.56 kB / 426.1 MB, free: 5.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 6.91e-07/0.00519, allocations: 0 / 426.1 MB, free: 5.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000357/0.005547, allocations: 201.2 kB / 426.3 MB, free: 5.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.06e-05/0.005568, allocations: 51.41 kB / 426.4 MB, free: 5.258 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.433e-05/0.005612, allocations: 110.6 kB / 426.5 MB, free: 5.137 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.005626, allocations: 29.7 kB / 426.5 MB, free: 5.102 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.00565, allocations: 80.14 kB / 426.6 MB, free: 5.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.005674, allocations: 19.83 kB / 426.6 MB, free: 5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.005707, allocations: 21.7 kB / 426.6 MB, free: 4.973 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.014e-05/0.005777, allocations: 314.8 kB / 426.9 MB, free: 4.656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.965e-05/0.005797, allocations: 11.98 kB / 426.9 MB, free: 4.645 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.005812, allocations: 4 kB / 426.9 MB, free: 4.641 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.09e-05/0.005853, allocations: 20.84 kB / 427 MB, free: 4.617 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.005854, allocations: 0 / 427 MB, free: 4.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.82e-05/0.005922, allocations: 53.81 kB / 427 MB, free: 4.559 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.005934, allocations: 8 kB / 427 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.005938, allocations: 0 / 427 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.005951, allocations: 0 / 427 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.009e-05/0.006021, allocations: 19.92 kB / 427 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-06/0.006023, allocations: 0 / 427 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.00606, allocations: 15.92 kB / 427.1 MB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.006066, allocations: 0 / 427.1 MB, free: 4.516 MB / 394.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 4.99e-05/0.006116, allocations: 109.8 kB / 427.2 MB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.006128, allocations: 11.98 kB / 427.2 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/0.006239, allocations: 61.47 kB / 427.2 MB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.00624, allocations: 4 kB / 427.2 MB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.006241, allocations: 0 / 427.2 MB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006245, allocations: 7.938 kB / 427.2 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.689e-05/0.006312, allocations: 78.14 kB / 427.3 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.006313, allocations: 0 / 427.3 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.573e-05/0.006378, allocations: 27.91 kB / 427.3 MB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.00638, allocations: 0 / 427.3 MB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.006387, allocations: 4 kB / 427.3 MB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.006388, allocations: 0 / 427.3 MB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.006389, allocations: 0 / 427.3 MB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.006508, allocations: 97 kB / 427.4 MB, free: 4.066 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.006532, allocations: 4 kB / 427.4 MB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.006544, allocations: 7.984 kB / 427.5 MB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.938e-05/0.006583, allocations: 4 kB / 427.5 MB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.006601, allocations: 3.984 kB / 427.5 MB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.006607, allocations: 4 kB / 427.5 MB, free: 4.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.925e-06/0.006615, allocations: 4.859 kB / 427.5 MB, free: 4.035 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006615, allocations: 0 / 427.5 MB, free: 4.035 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001359/0.006751, allocations: 43.92 kB / 427.5 MB, free: 3.992 MB / 394.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.0001238/0.006875, allocations: 108.3 kB / 427.6 MB, free: 3.875 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.535e-05/0.00695, allocations: 36.78 kB / 427.7 MB, free: 3.836 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.006953, allocations: 0 / 427.7 MB, free: 3.836 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.774e-05/0.006981, allocations: 28.77 kB / 427.7 MB, free: 3.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.355e-05/0.007044, allocations: 4 kB / 427.7 MB, free: 3.801 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002594/0.007303, allocations: 143.5 kB / 427.8 MB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.547e-05/0.007329, allocations: 55.36 kB / 427.9 MB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 5.525e-05/0.007384, allocations: 19.98 kB / 427.9 MB, free: 3.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.337e-05/0.007448, allocations: 51.38 kB / 428 MB, free: 3.492 MB / 394.7 MB Notification: Performance of SimCode: time 4.81e-07/0.007448, allocations: 0 / 428 MB, free: 3.492 MB / 394.7 MB Notification: Performance of Templates: time 0.003136/0.01058, allocations: 1.345 MB / 429.3 MB, free: 2.141 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.254390215035528]