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.0009366/0.0009366, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005658/0.005658, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.321/1.321, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.9749/0.9749, allocations: 143.2 MB / 434.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 15.98 kB / 0.5165 GB, free: 11.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1762, allocations: 83.41 MB / 0.598 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0006486/0.1769, allocations: 335 kB / 0.5983 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1786, allocations: 1.447 MB / 0.5997 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.227e-05/0.1786, allocations: 0 / 0.5997 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.848e-06/0.1786, allocations: 0 / 0.5997 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.523e-05/0.1787, allocations: 0 / 0.5997 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.179, allocations: 121.8 kB / 0.5998 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.716e-05/0.1791, allocations: 23.97 kB / 0.5998 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.243e-05/0.1791, allocations: 4 kB / 0.5999 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.236e-05/0.1792, allocations: 15.92 kB / 0.5999 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.1792, allocations: 23.97 kB / 0.5999 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1793, allocations: 3.938 kB / 0.5999 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.1796, allocations: 319.3 kB / 0.6002 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.1797, allocations: 11.98 kB / 0.6002 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.057e-05/0.1797, allocations: 29.64 kB / 0.6002 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.18, allocations: 191.6 kB / 0.6004 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.18, allocations: 0 / 0.6004 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.18, allocations: 0 / 0.6004 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.18, allocations: 0 / 0.6004 GB, free: 5.039 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.000458/0.1805, allocations: 367.7 kB / 0.6008 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1805, allocations: 8.031 kB / 0.6008 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.1805, allocations: 30.75 kB / 0.6008 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004554/0.181, allocations: 84.84 kB / 0.6009 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.1811, allocations: 160.4 kB / 0.601 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.1811, allocations: 8.375 kB / 0.601 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.1812, allocations: 384 / 0.601 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/0.1814, allocations: 93.69 kB / 0.6011 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.1814, allocations: 0 / 0.6011 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1815, allocations: 3.938 kB / 0.6011 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1815, allocations: 0 / 0.6011 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.1818, allocations: 75.94 kB / 0.6012 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.182, allocations: 169.6 kB / 0.6014 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.1825, allocations: 138.6 kB / 0.6015 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1827, allocations: 52.92 kB / 0.6016 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005162/0.1833, allocations: 180.9 kB / 0.6017 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1833, allocations: 42.44 kB / 0.6018 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1833, allocations: 0 / 0.6018 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001144/0.1844, allocations: 434.2 kB / 0.6022 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.589e-05/0.1845, allocations: 59.41 kB / 0.6022 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.1846, allocations: 93.86 kB / 0.6023 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1846, allocations: 25.7 kB / 0.6024 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.1846, allocations: 80.14 kB / 0.6024 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.1847, allocations: 23.73 kB / 0.6025 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.591e-05/0.1847, allocations: 9.719 kB / 0.6025 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.1849, allocations: 318.8 kB / 0.6028 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.1851, allocations: 44.08 kB / 0.6028 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.1852, allocations: 43.97 kB / 0.6029 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.1855, allocations: 88.8 kB / 0.6029 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1856, allocations: 0 / 0.6029 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003669/0.1859, allocations: 137.6 kB / 0.6031 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1859, allocations: 4 kB / 0.6031 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.186, allocations: 3.984 kB / 0.6031 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.186, allocations: 4 kB / 0.6031 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.1861, allocations: 23.98 kB / 0.6031 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1861, allocations: 4 kB / 0.6031 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.1863, allocations: 11.98 kB / 0.6031 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.1863, allocations: 4 kB / 0.6031 GB, free: 1.973 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.276e-05/0.1863, allocations: 117.8 kB / 0.6032 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.1864, allocations: 7.938 kB / 0.6032 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004432/0.1868, allocations: 145.1 kB / 0.6034 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1868, allocations: 3.984 kB / 0.6034 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.1868, allocations: 0 / 0.6034 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.1868, allocations: 0 / 0.6034 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.187, allocations: 165.7 kB / 0.6035 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.187, allocations: 7.922 kB / 0.6036 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001489/0.1871, allocations: 27.92 kB / 0.6036 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1872, allocations: 4 kB / 0.6036 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1872, allocations: 0 / 0.6036 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1872, allocations: 3.938 kB / 0.6036 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1872, allocations: 0 / 0.6036 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005665/0.1878, allocations: 208.9 kB / 0.6038 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.1878, allocations: 93.06 kB / 0.6039 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.1879, allocations: 0 / 0.6039 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.188, allocations: 24.05 kB / 0.6039 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.393e-05/0.188, allocations: 7.984 kB / 0.6039 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-06/0.188, allocations: 192 / 0.6039 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.1881, allocations: 79.28 kB / 0.604 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1881, allocations: 0 / 0.604 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002189/0.1883, allocations: 32 kB / 0.604 GB, free: 0.9648 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.0009607/0.1893, allocations: 0.7686 MB / 0.6048 GB, free: 168 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.1896, allocations: 99.98 kB / 0.6049 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1897, allocations: 0 / 0.6049 GB, free: 68 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.1898, allocations: 47.97 kB / 0.6049 GB, free: 20 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.19, allocations: 18.69 kB / 0.6049 GB, free: 4 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2592/0.4492, allocations: 1.401 MB / 0.6063 GB, free: 40 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.4493, allocations: 0.6803 MB / 0.607 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.4494, allocations: 23.89 kB / 0.607 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.4495, allocations: 13.31 kB / 0.607 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.4495, allocations: 0 / 0.607 GB, free: 39.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01104/0.4605, allocations: 1.856 MB / 0.6088 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000131/0.4607, allocations: 233.4 kB / 0.609 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.204, allocations: 3.75 kB / 0.609 GB, free: 38.96 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)