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.006998/0.006998, allocations: 101.5 kB / 15.73 MB, free: 6.047 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.001518/0.001518, allocations: 196.4 kB / 16.67 MB, free: 5.977 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.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.9492/0.9492, allocations: 143 MB / 433.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 75.88 kB / 0.5956 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.391, allocations: 82.02 MB / 0.6757 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00158/0.3926, allocations: 0.5871 MB / 0.6762 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.3941, allocations: 1.465 MB / 0.6777 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.356e-05/0.3942, allocations: 0 / 0.6777 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.3942, allocations: 3.938 kB / 0.6777 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.3942, allocations: 5.031 kB / 0.6777 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004585/0.3947, allocations: 138.2 kB / 0.6778 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.3948, allocations: 23.48 kB / 0.6778 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.3948, allocations: 9.062 kB / 0.6779 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.02e-05/0.3948, allocations: 21.47 kB / 0.6779 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.524e-05/0.3949, allocations: 26.55 kB / 0.6779 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.3949, allocations: 1.312 kB / 0.6779 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004144/0.3954, allocations: 320.3 kB / 0.6782 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.3954, allocations: 2.625 kB / 0.6782 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.3954, allocations: 14.64 kB / 0.6782 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002703/0.3957, allocations: 187.4 kB / 0.6784 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3957, allocations: 0 / 0.6784 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3957, allocations: 0 / 0.6784 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3957, allocations: 1.062 kB / 0.6784 GB, free: 15.41 MB / 0.5137 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.0004914/0.3962, allocations: 368.2 kB / 0.6788 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.3963, allocations: 9.312 kB / 0.6788 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/0.3967, allocations: 75.47 kB / 0.6788 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.814e-05/0.3968, allocations: 165.8 kB / 0.679 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3969, allocations: 1.781 kB / 0.679 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.3969, allocations: 6.938 kB / 0.679 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.3971, allocations: 81.69 kB / 0.6791 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3972, allocations: 0 / 0.6791 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3972, allocations: 0 / 0.6791 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3972, allocations: 1.344 kB / 0.6791 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.3975, allocations: 61.53 kB / 0.6791 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.3977, allocations: 162 kB / 0.6793 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.3983, allocations: 126.7 kB / 0.6794 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.3984, allocations: 44.52 kB / 0.6795 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004413/0.3989, allocations: 154.8 kB / 0.6796 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.3989, allocations: 35.62 kB / 0.6796 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3989, allocations: 0 / 0.6796 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.001174/0.4001, allocations: 406.6 kB / 0.68 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.4002, allocations: 55.34 kB / 0.6801 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.4002, allocations: 97.17 kB / 0.6802 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.4003, allocations: 25.7 kB / 0.6802 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.4003, allocations: 81.42 kB / 0.6803 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.461e-05/0.4004, allocations: 23.81 kB / 0.6803 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.4004, allocations: 19.41 kB / 0.6803 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4005, allocations: 316.2 kB / 0.6806 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.4007, allocations: 40.92 kB / 0.6807 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.4009, allocations: 37.44 kB / 0.6807 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.4012, allocations: 75.8 kB / 0.6808 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4012, allocations: 4 kB / 0.6808 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003533/0.4015, allocations: 117.4 kB / 0.6809 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4015, allocations: 8.812 kB / 0.6809 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4016, allocations: 0.8438 kB / 0.6809 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4016, allocations: 0 / 0.6809 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.4017, allocations: 24.33 kB / 0.6809 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4017, allocations: 0.8438 kB / 0.6809 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.4018, allocations: 11.64 kB / 0.6809 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.4019, allocations: 6.172 kB / 0.6809 GB, free: 13.11 MB / 0.5137 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 7.856e-05/0.4019, allocations: 116.1 kB / 0.681 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.728e-05/0.402, allocations: 5.406 kB / 0.681 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.4024, allocations: 129.4 kB / 0.6812 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4024, allocations: 1.062 kB / 0.6812 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4024, allocations: 4 kB / 0.6812 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4024, allocations: 1.125 kB / 0.6812 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.4026, allocations: 170.8 kB / 0.6813 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4026, allocations: 336 / 0.6813 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.4027, allocations: 28.7 kB / 0.6814 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.4027, allocations: 0 / 0.6814 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.4028, allocations: 2.062 kB / 0.6814 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4028, allocations: 3.984 kB / 0.6814 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4028, allocations: 1.062 kB / 0.6814 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.4033, allocations: 191.5 kB / 0.6816 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.4034, allocations: 95.12 kB / 0.6816 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.4034, allocations: 5 kB / 0.6816 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.4035, allocations: 12.55 kB / 0.6817 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.629e-05/0.4036, allocations: 14.27 kB / 0.6817 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.817e-06/0.4036, allocations: 2.094 kB / 0.6817 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.4036, allocations: 77.78 kB / 0.6817 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4036, allocations: 0 / 0.6817 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002234/0.4039, allocations: 29.33 kB / 0.6818 GB, free: 12.34 MB / 0.5137 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.0002016/0.4041, allocations: 138.8 kB / 0.6819 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003741/0.4045, allocations: 84.17 kB / 0.682 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4045, allocations: 0 / 0.682 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.4046, allocations: 47.56 kB / 0.682 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.4048, allocations: 8.062 kB / 0.682 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.4054, allocations: 186.4 kB / 0.6822 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.4056, allocations: 0.6798 MB / 0.6829 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.674e-05/0.4057, allocations: 14.19 kB / 0.6829 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.4057, allocations: 12.09 kB / 0.6829 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.4058, allocations: 0 / 0.6829 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.003278/0.409, allocations: 1.175 MB / 0.6841 GB, free: 10.69 MB / 0.5137 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)