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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001077/0.001077, allocations: 195.1 kB / 16.14 MB, free: 6.688 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.8771/0.8771, allocations: 143 MB / 433 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 67.89 kB / 0.5136 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1643, allocations: 82.05 MB / 0.5937 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001903/0.1663, allocations: 0.6543 MB / 0.5944 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.1683, allocations: 1.462 MB / 0.5958 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.793e-05/0.1683, allocations: 0 / 0.5958 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.923e-05/0.1683, allocations: 0 / 0.5958 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.464e-05/0.1684, allocations: 0 / 0.5958 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.1688, allocations: 115.7 kB / 0.5959 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.729e-05/0.1689, allocations: 35.91 kB / 0.596 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.169, allocations: 0 / 0.596 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.519e-05/0.169, allocations: 19.97 kB / 0.596 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.932e-05/0.1691, allocations: 27.91 kB / 0.596 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1692, allocations: 4 kB / 0.596 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.1696, allocations: 319.3 kB / 0.5963 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.1696, allocations: 3.984 kB / 0.5963 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.1697, allocations: 8 kB / 0.5963 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.1699, allocations: 187.6 kB / 0.5965 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.17, allocations: 0 / 0.5965 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.17, allocations: 0 / 0.5965 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.17, allocations: 0 / 0.5965 GB, free: 7.113 MB / 0.4981 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.0005271/0.1705, allocations: 371.7 kB / 0.5969 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1705, allocations: 12.03 kB / 0.5969 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.529e-05/0.1706, allocations: 38.69 kB / 0.5969 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004385/0.171, allocations: 68.84 kB / 0.597 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.1712, allocations: 164.4 kB / 0.5971 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1712, allocations: 4.312 kB / 0.5971 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.1712, allocations: 4.375 kB / 0.5971 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.1715, allocations: 77.75 kB / 0.5972 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.1715, allocations: 4 kB / 0.5972 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1715, allocations: 0 / 0.5972 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1715, allocations: 4 kB / 0.5972 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000288/0.1718, allocations: 67.92 kB / 0.5973 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000164/0.172, allocations: 161.7 kB / 0.5974 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.1726, allocations: 122.5 kB / 0.5976 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.1728, allocations: 44.91 kB / 0.5976 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004524/0.1732, allocations: 157 kB / 0.5977 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1733, allocations: 34.5 kB / 0.5978 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.1733, allocations: 0 / 0.5978 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001134/0.1744, allocations: 406.2 kB / 0.5982 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.1744, allocations: 51.41 kB / 0.5982 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.867e-05/0.1745, allocations: 93.86 kB / 0.5983 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.1745, allocations: 33.69 kB / 0.5983 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.386e-05/0.1746, allocations: 80.14 kB / 0.5984 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.1746, allocations: 23.59 kB / 0.5984 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.1747, allocations: 17.72 kB / 0.5985 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1748, allocations: 331 kB / 0.5988 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.1749, allocations: 31.91 kB / 0.5988 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1751, allocations: 35.97 kB / 0.5988 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/0.1754, allocations: 76.8 kB / 0.5989 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1754, allocations: 0 / 0.5989 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003385/0.1757, allocations: 113.6 kB / 0.599 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1757, allocations: 4 kB / 0.599 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.1758, allocations: 4 kB / 0.599 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1758, allocations: 4 kB / 0.599 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1759, allocations: 31.91 kB / 0.5991 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1759, allocations: 0 / 0.5991 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.374e-05/0.176, allocations: 11.98 kB / 0.5991 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.176, allocations: 0 / 0.5991 GB, free: 4.188 MB / 0.4981 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.945e-05/0.1761, allocations: 113.8 kB / 0.5992 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.1762, allocations: 7.875 kB / 0.5992 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.1766, allocations: 133.4 kB / 0.5993 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1766, allocations: 64 / 0.5993 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1766, allocations: 8 kB / 0.5993 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1766, allocations: 4 kB / 0.5993 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.1768, allocations: 166 kB / 0.5995 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1768, allocations: 3.938 kB / 0.5995 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001517/0.1769, allocations: 27.91 kB / 0.5995 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.177, allocations: 0 / 0.5995 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.177, allocations: 8 kB / 0.5995 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.177, allocations: 0 / 0.5995 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.177, allocations: 0 / 0.5995 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005383/0.1775, allocations: 192.9 kB / 0.5997 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.1776, allocations: 85.03 kB / 0.5998 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1776, allocations: 8.031 kB / 0.5998 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1778, allocations: 15.97 kB / 0.5998 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.1778, allocations: 0 / 0.5998 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.1778, allocations: 8.062 kB / 0.5998 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.346e-05/0.1778, allocations: 75.28 kB / 0.5999 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1778, allocations: 0 / 0.5999 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002366/0.1781, allocations: 39.98 kB / 0.5999 GB, free: 3.211 MB / 0.4981 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.001021/0.1791, allocations: 0.749 MB / 0.6007 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003533/0.1795, allocations: 83.94 kB / 0.6007 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1795, allocations: 0 / 0.6007 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1797, allocations: 43.95 kB / 0.6008 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.1798, allocations: 8 kB / 0.6008 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.1821, allocations: 1.366 MB / 0.6021 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.1825, allocations: 0.677 MB / 0.6028 GB, free: 152 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001147/0.1826, allocations: 19.98 kB / 0.6028 GB, free: 132 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.1827, allocations: 17.81 kB / 0.6028 GB, free: 116 kB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1827, allocations: 0 / 0.6028 GB, free: 116 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.398/0.5807, allocations: 1.907 MB / 0.6047 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/0.5809, allocations: 232.8 kB / 0.6049 GB, free: 43.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.443, allocations: 3.5 kB / 0.6049 GB, free: 43.31 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)