Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.005527/0.005527, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001281/0.001281, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8951/0.8951, allocations: 143.3 MB / 433.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 80.69 kB / 0.5954 GB, free: 12.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1494, allocations: 82.04 MB / 0.6755 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002045/0.1515, allocations: 0.7833 MB / 0.6762 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002068/0.1536, allocations: 1.481 MB / 0.6777 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.809e-05/0.1536, allocations: 0 / 0.6777 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.756e-05/0.1536, allocations: 3.938 kB / 0.6777 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.83e-05/0.1537, allocations: 0 / 0.6777 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.1543, allocations: 143.5 kB / 0.6778 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.951e-05/0.1544, allocations: 55.83 kB / 0.6779 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.1544, allocations: 4 kB / 0.6779 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.539e-05/0.1545, allocations: 23.92 kB / 0.6779 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.797e-05/0.1546, allocations: 39.88 kB / 0.6779 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.1546, allocations: 4 kB / 0.6779 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004988/0.1551, allocations: 315.4 kB / 0.6782 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.1552, allocations: 15.91 kB / 0.6783 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.1552, allocations: 31.86 kB / 0.6783 GB, free: 7.66 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.1556, allocations: 211.6 kB / 0.6785 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1556, allocations: 0 / 0.6785 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1556, allocations: 0 / 0.6785 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.1556, allocations: 0 / 0.6785 GB, free: 7.453 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000742/0.1564, allocations: 402.9 kB / 0.6789 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1564, allocations: 8.031 kB / 0.6789 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.549e-05/0.1565, allocations: 42.67 kB / 0.6789 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004584/0.1569, allocations: 72.81 kB / 0.679 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.1571, allocations: 176.3 kB / 0.6792 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.1571, allocations: 384 / 0.6792 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.1572, allocations: 12.33 kB / 0.6792 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.1576, allocations: 113.7 kB / 0.6793 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1576, allocations: 0 / 0.6793 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1576, allocations: 4 kB / 0.6793 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1576, allocations: 4 kB / 0.6793 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005247/0.1582, allocations: 103.8 kB / 0.6794 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.1588, allocations: 328.7 kB / 0.6797 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/0.1595, allocations: 158.4 kB / 0.6799 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.1597, allocations: 56.81 kB / 0.6799 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.1598, allocations: 3.938 kB / 0.6799 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1598, allocations: 34.56 kB / 0.6799 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 3.066e-06/0.1598, allocations: 0 / 0.6799 GB, free: 5.793 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01922/0.179, allocations: 2.838 MB / 0.6827 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.1791, allocations: 59.33 kB / 0.6828 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.98e-05/0.1792, allocations: 101.9 kB / 0.6829 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.025e-05/0.1793, allocations: 25.7 kB / 0.6829 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.1793, allocations: 92.06 kB / 0.683 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.966e-05/0.1794, allocations: 43.64 kB / 0.683 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.1796, allocations: 73.58 kB / 0.6831 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1798, allocations: 314.8 kB / 0.6834 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007257/0.1805, allocations: 195.7 kB / 0.6836 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/0.1812, allocations: 195.2 kB / 0.6838 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.1827, allocations: 388.5 kB / 0.6841 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1827, allocations: 3.938 kB / 0.6841 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001755/0.1845, allocations: 477.3 kB / 0.6846 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.1845, allocations: 11.98 kB / 0.6846 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.1845, allocations: 0 / 0.6846 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.1846, allocations: 0 / 0.6846 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008835/0.1855, allocations: 115.7 kB / 0.6847 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1855, allocations: 0 / 0.6847 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/0.1861, allocations: 47.94 kB / 0.6848 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.125e-05/0.1862, allocations: 19.94 kB / 0.6848 GB, free: 0.6875 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 (13): * Single equations (assignments): 13 * 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 0.0002035/0.1864, allocations: 121.8 kB / 0.6849 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.124e-05/0.1865, allocations: 7.984 kB / 0.6849 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.1866, allocations: 7.969 kB / 0.6849 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1866, allocations: 3.938 kB / 0.6849 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.1866, allocations: 4 kB / 0.6849 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1866, allocations: 4 kB / 0.6849 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/0.1891, allocations: 1.058 MB / 0.686 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1891, allocations: 0 / 0.686 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008524/0.19, allocations: 103.7 kB / 0.6861 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.551e-06/0.19, allocations: 4 kB / 0.6861 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.1901, allocations: 27.94 kB / 0.6861 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1901, allocations: 0 / 0.6861 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1901, allocations: 0 / 0.6861 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002545/0.1926, allocations: 0.7956 MB / 0.6869 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.1928, allocations: 113.1 kB / 0.687 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.1929, allocations: 7.938 kB / 0.687 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006745/0.1936, allocations: 40 kB / 0.687 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.1937, allocations: 39.86 kB / 0.6871 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.984e-05/0.1938, allocations: 27.92 kB / 0.6871 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.928e-05/0.1938, allocations: 75.28 kB / 0.6872 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1938, allocations: 0 / 0.6872 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000395/0.1942, allocations: 55.94 kB / 0.6872 GB, free: 14.05 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.00292/0.1972, allocations: 1.341 MB / 0.6885 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001632/0.1988, allocations: 427.5 kB / 0.6889 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1988, allocations: 0 / 0.6889 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007881/0.1996, allocations: 227.7 kB / 0.6891 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.2, allocations: 11.94 kB / 0.6892 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009316/0.2094, allocations: 2.928 MB / 0.692 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.2098, allocations: 0.7002 MB / 0.6927 GB, free: 8.293 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005368/0.2103, allocations: 89.09 kB / 0.6928 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002881/0.2106, allocations: 67.3 kB / 0.6928 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of SimCode: time 6.72e-07/0.2106, allocations: 0 / 0.6928 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.2393, allocations: 4.602 MB / 0.6973 GB, free: 3.676 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/8.292, allocations: 13.16 kB / 0.6974 GB, free: 3.668 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check_res.csv --start-time -1.5 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0012 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)