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.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001116/0.001116, allocations: 106.2 kB / 16.36 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 195.8 kB / 17.3 MB, free: 5.906 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8419/0.8419, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 71.83 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3342, allocations: 82.02 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001711/0.336, allocations: 0.59 MB / 0.5963 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3374, allocations: 1.459 MB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.321e-05/0.3374, allocations: 1.812 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.145e-05/0.3374, allocations: 0 / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.92e-05/0.3375, allocations: 3.938 kB / 0.5977 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.338, allocations: 138.1 kB / 0.5978 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.102e-05/0.338, allocations: 23.98 kB / 0.5979 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.3381, allocations: 17.12 kB / 0.5979 GB, free: 13.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.3381, allocations: 15.92 kB / 0.5979 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.3382, allocations: 23.97 kB / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.3382, allocations: 1.5 kB / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.3386, allocations: 319.3 kB / 0.5982 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.679e-05/0.3386, allocations: 7.984 kB / 0.5982 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.3386, allocations: 7.938 kB / 0.5982 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.3389, allocations: 188.2 kB / 0.5984 GB, free: 13.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3389, allocations: 0 / 0.5984 GB, free: 13.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3389, allocations: 5.656 kB / 0.5984 GB, free: 13.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3389, allocations: 0 / 0.5984 GB, free: 13.34 MB / 446.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.0004371/0.3394, allocations: 363.3 kB / 0.5988 GB, free: 12.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.3394, allocations: 9.375 kB / 0.5988 GB, free: 12.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004406/0.3399, allocations: 72.38 kB / 0.5988 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.685e-05/0.3399, allocations: 160.4 kB / 0.599 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.34, allocations: 17.02 kB / 0.599 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.34, allocations: 5.875 kB / 0.599 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.3402, allocations: 78.97 kB / 0.5991 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3402, allocations: 1.031 kB / 0.5991 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3403, allocations: 0 / 0.5991 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.3403, allocations: 0 / 0.5991 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.3405, allocations: 63.69 kB / 0.5992 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001285/0.3407, allocations: 162.5 kB / 0.5993 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005362/0.3412, allocations: 127.6 kB / 0.5994 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.3414, allocations: 43.8 kB / 0.5995 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004079/0.3418, allocations: 153.8 kB / 0.5996 GB, free: 11.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.3418, allocations: 35.88 kB / 0.5997 GB, free: 11.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3418, allocations: 7.938 kB / 0.5997 GB, free: 11.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001028/0.3429, allocations: 403.1 kB / 0.6 GB, free: 11.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.3429, allocations: 51.41 kB / 0.6001 GB, free: 11.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.022e-05/0.3429, allocations: 99.14 kB / 0.6002 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.343, allocations: 29.7 kB / 0.6002 GB, free: 11.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.135e-05/0.343, allocations: 80.14 kB / 0.6003 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.343, allocations: 19 kB / 0.6003 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.3431, allocations: 21.72 kB / 0.6003 GB, free: 11.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.573e-05/0.3431, allocations: 316.3 kB / 0.6006 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.3433, allocations: 33.31 kB / 0.6007 GB, free: 10.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.3434, allocations: 37.97 kB / 0.6007 GB, free: 10.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.3437, allocations: 76.33 kB / 0.6008 GB, free: 10.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3437, allocations: 4 kB / 0.6008 GB, free: 10.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003298/0.344, allocations: 116.7 kB / 0.6009 GB, free: 10.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.3441, allocations: 10.88 kB / 0.6009 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3441, allocations: 0 / 0.6009 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3441, allocations: 0 / 0.6009 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.3442, allocations: 21.89 kB / 0.6009 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3442, allocations: 0 / 0.6009 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.362e-05/0.3443, allocations: 17.38 kB / 0.6009 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.3444, allocations: 4.25 kB / 0.6009 GB, free: 10.53 MB / 446.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 4.964e-05/0.3444, allocations: 114.5 kB / 0.6011 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.3444, allocations: 5.062 kB / 0.6011 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.3448, allocations: 139.2 kB / 0.6012 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3449, allocations: 0 / 0.6012 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3449, allocations: 1 kB / 0.6012 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3449, allocations: 0 / 0.6012 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.471e-05/0.345, allocations: 169.6 kB / 0.6014 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.345, allocations: 4.781 kB / 0.6014 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.3451, allocations: 25.19 kB / 0.6014 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3451, allocations: 0 / 0.6014 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3452, allocations: 4.734 kB / 0.6014 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3452, allocations: 0 / 0.6014 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3452, allocations: 4.844 kB / 0.6014 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000496/0.3457, allocations: 190.1 kB / 0.6016 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.687e-05/0.3457, allocations: 89.56 kB / 0.6017 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3457, allocations: 0.5625 kB / 0.6017 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3459, allocations: 20.95 kB / 0.6017 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.3459, allocations: 12.73 kB / 0.6017 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.3459, allocations: 0 / 0.6017 GB, free: 9.688 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.713e-05/0.3459, allocations: 80.56 kB / 0.6018 GB, free: 9.609 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3459, allocations: 0 / 0.6018 GB, free: 9.609 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.3462, allocations: 33.61 kB / 0.6018 GB, free: 9.578 MB / 446.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.0001509/0.3463, allocations: 131.2 kB / 0.6019 GB, free: 9.438 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003457/0.3467, allocations: 88.33 kB / 0.602 GB, free: 9.355 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3467, allocations: 0 / 0.602 GB, free: 9.355 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.3469, allocations: 41.53 kB / 0.602 GB, free: 9.316 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.347, allocations: 5.5 kB / 0.6021 GB, free: 9.312 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.3476, allocations: 185.2 kB / 0.6022 GB, free: 9.113 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.649e-05/0.3477, allocations: 0.6845 MB / 0.6029 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.205e-05/0.3478, allocations: 14.25 kB / 0.6029 GB, free: 8.398 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.257e-05/0.3478, allocations: 11.44 kB / 0.6029 GB, free: 8.387 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3478, allocations: 4 kB / 0.6029 GB, free: 8.383 MB / 446.1 MB Notification: Performance of Templates: time 0.002964/0.3508, allocations: 1.176 MB / 0.6041 GB, free: 7.246 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (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=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)