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.008756/0.008756, allocations: 103.4 kB / 15.73 MB, free: 6.043 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.001758/0.001758, allocations: 191.2 kB / 16.67 MB, free: 5.957 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.8595/0.8595, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 68.5 kB / 0.5951 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1447, allocations: 82.03 MB / 0.6752 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001741/0.1465, allocations: 0.6133 MB / 0.6758 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.1484, allocations: 1.455 MB / 0.6772 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.1485, allocations: 0 / 0.6772 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.1485, allocations: 3.938 kB / 0.6772 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.58e-05/0.1485, allocations: 0 / 0.6772 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005553/0.1491, allocations: 139.4 kB / 0.6774 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.659e-05/0.1492, allocations: 27.97 kB / 0.6774 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.1492, allocations: 4 kB / 0.6774 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.127e-05/0.1493, allocations: 15.98 kB / 0.6774 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/0.1494, allocations: 27.89 kB / 0.6774 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.1494, allocations: 4 kB / 0.6774 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004421/0.1498, allocations: 311.4 kB / 0.6777 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.1499, allocations: 7.984 kB / 0.6777 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.1499, allocations: 11.92 kB / 0.6778 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.1502, allocations: 191.6 kB / 0.6779 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1502, allocations: 0 / 0.6779 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1502, allocations: 4 kB / 0.6779 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1502, allocations: 4 kB / 0.6779 GB, free: 8.004 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.0004873/0.1507, allocations: 366.3 kB / 0.6783 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1508, allocations: 8.031 kB / 0.6783 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.1508, allocations: 30.75 kB / 0.6783 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004571/0.1513, allocations: 72.75 kB / 0.6784 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.1514, allocations: 164.4 kB / 0.6786 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.1514, allocations: 4.375 kB / 0.6786 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.1515, allocations: 4.312 kB / 0.6786 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.1517, allocations: 81.75 kB / 0.6786 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1517, allocations: 0 / 0.6786 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.1518, allocations: 0 / 0.6786 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1518, allocations: 0 / 0.6786 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.1521, allocations: 71.86 kB / 0.6787 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001936/0.1523, allocations: 165.7 kB / 0.6789 GB, free: 6.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005725/0.1528, allocations: 122.6 kB / 0.679 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.153, allocations: 48.89 kB / 0.679 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004448/0.1535, allocations: 149 kB / 0.6792 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1535, allocations: 42.5 kB / 0.6792 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1535, allocations: 0 / 0.6792 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.001148/0.1547, allocations: 407 kB / 0.6796 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.1547, allocations: 51.41 kB / 0.6796 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.729e-05/0.1548, allocations: 93.86 kB / 0.6797 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1548, allocations: 33.62 kB / 0.6798 GB, free: 5.863 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.1549, allocations: 84.27 kB / 0.6799 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.1549, allocations: 19.75 kB / 0.6799 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.1549, allocations: 17.72 kB / 0.6799 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.155, allocations: 318.8 kB / 0.6802 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1552, allocations: 35.97 kB / 0.6802 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1553, allocations: 35.97 kB / 0.6803 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002935/0.1557, allocations: 80.8 kB / 0.6803 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1557, allocations: 0 / 0.6803 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003433/0.156, allocations: 117.5 kB / 0.6804 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.156, allocations: 4 kB / 0.6805 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.156, allocations: 0 / 0.6805 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1561, allocations: 0 / 0.6805 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1562, allocations: 27.91 kB / 0.6805 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1562, allocations: 0 / 0.6805 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.1563, allocations: 19.98 kB / 0.6805 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1564, allocations: 4 kB / 0.6805 GB, free: 5.086 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.708e-05/0.1564, allocations: 105.8 kB / 0.6806 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.1565, allocations: 7.938 kB / 0.6806 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004344/0.1569, allocations: 133.4 kB / 0.6807 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1569, allocations: 0 / 0.6807 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1569, allocations: 4.062 kB / 0.6807 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.157, allocations: 7.875 kB / 0.6807 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.1571, allocations: 169.7 kB / 0.6809 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.1571, allocations: 3.938 kB / 0.6809 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1573, allocations: 23.97 kB / 0.6809 GB, free: 4.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1573, allocations: 4 kB / 0.6809 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1573, allocations: 0 / 0.6809 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.1573, allocations: 4 kB / 0.6809 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1573, allocations: 0 / 0.6809 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.1579, allocations: 177 kB / 0.6811 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.1579, allocations: 92.97 kB / 0.6812 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.979e-05/0.158, allocations: 0 / 0.6812 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1581, allocations: 24.03 kB / 0.6812 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.782e-05/0.1581, allocations: 4 kB / 0.6812 GB, free: 4.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.1581, allocations: 3.938 kB / 0.6812 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.211e-05/0.1582, allocations: 79.28 kB / 0.6813 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1582, allocations: 0 / 0.6813 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002463/0.1584, allocations: 31.98 kB / 0.6813 GB, free: 4.129 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.0008574/0.1593, allocations: 0.753 MB / 0.6821 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.1597, allocations: 83.94 kB / 0.6822 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1597, allocations: 0 / 0.6822 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.1598, allocations: 43.95 kB / 0.6822 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.16, allocations: 8 kB / 0.6822 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.162, allocations: 1.368 MB / 0.6835 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1623, allocations: 0.6768 MB / 0.6842 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.201e-05/0.1624, allocations: 23.94 kB / 0.6842 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.1624, allocations: 11.44 kB / 0.6842 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of SimCode: time 4.51e-07/0.1624, allocations: 0 / 0.6842 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.1877, allocations: 2.106 MB / 0.6863 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.308/7.495, allocations: 10.52 kB / 0.6863 GB, free: 15.05 MB / 0.5294 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)