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.001591/0.001592, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.9026/0.9026, allocations: 143 MB / 433.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003213/0.003213, allocations: 63.91 kB / 0.5143 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1451, allocations: 82.04 MB / 0.5944 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001482/0.1466, allocations: 0.5935 MB / 0.595 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1483, allocations: 1.454 MB / 0.5964 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.404e-05/0.1483, allocations: 4 kB / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.101e-06/0.1483, allocations: 0 / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.481e-05/0.1484, allocations: 0 / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003616/0.1487, allocations: 139.4 kB / 0.5965 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.789e-05/0.1488, allocations: 31.97 kB / 0.5966 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.006e-05/0.1488, allocations: 0 / 0.5966 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.038e-05/0.1488, allocations: 27.91 kB / 0.5966 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.977e-05/0.1489, allocations: 19.91 kB / 0.5966 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1489, allocations: 0 / 0.5966 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.1493, allocations: 323.3 kB / 0.5969 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.1493, allocations: 7.984 kB / 0.5969 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.1494, allocations: 11.92 kB / 0.5969 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.1496, allocations: 187.6 kB / 0.5971 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1496, allocations: 0 / 0.5971 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.62e-07/0.1496, allocations: 3.938 kB / 0.5971 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.385e-06/0.1496, allocations: 4 kB / 0.5971 GB, free: 6.637 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.0004228/0.1501, allocations: 369.6 kB / 0.5975 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.399e-05/0.1501, allocations: 12.03 kB / 0.5975 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.371e-05/0.1501, allocations: 30.75 kB / 0.5975 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004101/0.1505, allocations: 68.84 kB / 0.5976 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.796e-05/0.1506, allocations: 160.4 kB / 0.5977 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1507, allocations: 4.359 kB / 0.5977 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.1507, allocations: 8.375 kB / 0.5978 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.1509, allocations: 85.69 kB / 0.5978 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.818e-06/0.1509, allocations: 0 / 0.5978 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1509, allocations: 0 / 0.5978 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-06/0.1509, allocations: 0 / 0.5978 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.1512, allocations: 67.92 kB / 0.5979 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.1514, allocations: 157.7 kB / 0.5981 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.1519, allocations: 122.6 kB / 0.5982 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.1521, allocations: 44.91 kB / 0.5982 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004034/0.1525, allocations: 153 kB / 0.5984 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.1525, allocations: 46.38 kB / 0.5984 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1525, allocations: 0 / 0.5984 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.0009994/0.1535, allocations: 402.2 kB / 0.5988 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.1536, allocations: 51.41 kB / 0.5988 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.125e-05/0.1536, allocations: 101.8 kB / 0.5989 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1536, allocations: 25.7 kB / 0.599 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.1537, allocations: 80.14 kB / 0.599 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/0.1537, allocations: 27.78 kB / 0.5991 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.1537, allocations: 17.7 kB / 0.5991 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.1538, allocations: 318.8 kB / 0.5994 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.154, allocations: 31.97 kB / 0.5994 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1541, allocations: 35.97 kB / 0.5994 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002753/0.1544, allocations: 76.98 kB / 0.5995 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1544, allocations: 0 / 0.5995 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003697/0.1548, allocations: 125.5 kB / 0.5996 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.1548, allocations: 4 kB / 0.5996 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-06/0.1548, allocations: 0 / 0.5996 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.1548, allocations: 4 kB / 0.5996 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.155, allocations: 23.97 kB / 0.5997 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-06/0.155, allocations: 0 / 0.5997 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.1551, allocations: 15.98 kB / 0.5997 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.1551, allocations: 0 / 0.5997 GB, free: 3.727 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 6.82e-05/0.1552, allocations: 117.8 kB / 0.5998 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.548e-05/0.1552, allocations: 3.938 kB / 0.5998 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003999/0.1556, allocations: 141 kB / 0.5999 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1556, allocations: 0 / 0.5999 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.1556, allocations: 4 kB / 0.5999 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1556, allocations: 0 / 0.5999 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.1557, allocations: 169.6 kB / 0.6001 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1557, allocations: 3.938 kB / 0.6001 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.1559, allocations: 23.97 kB / 0.6001 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1559, allocations: 0 / 0.6001 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.1559, allocations: 8 kB / 0.6001 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1559, allocations: 0 / 0.6001 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1559, allocations: 3.938 kB / 0.6001 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/0.1564, allocations: 189.2 kB / 0.6003 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.976e-05/0.1565, allocations: 89.03 kB / 0.6004 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1565, allocations: 4.031 kB / 0.6004 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.1566, allocations: 16.23 kB / 0.6004 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.945e-05/0.1567, allocations: 7.984 kB / 0.6004 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1567, allocations: 4 kB / 0.6004 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.825e-05/0.1567, allocations: 83.27 kB / 0.6005 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.1567, allocations: 0 / 0.6005 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002007/0.1569, allocations: 32 kB / 0.6005 GB, free: 2.746 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.0008001/0.1577, allocations: 0.7491 MB / 0.6013 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.1581, allocations: 87.98 kB / 0.6014 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1581, allocations: 0 / 0.6014 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/0.1582, allocations: 43.91 kB / 0.6014 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.1584, allocations: 8 kB / 0.6014 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.1601, allocations: 1.352 MB / 0.6027 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1755/0.3355, allocations: 0.6754 MB / 0.6034 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.3357, allocations: 17.8 kB / 0.6034 GB, free: 43.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.661e-05/0.3357, allocations: 17.86 kB / 0.6034 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.3357, allocations: 0 / 0.6034 GB, free: 43.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.875/2.211, allocations: 2.045 MB / 0.6054 GB, free: 43.29 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/9.837, allocations: 11.67 kB / 0.6054 GB, free: 43.29 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)