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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.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.0008988/0.0008989, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009511/0.0009512, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.076/1.076, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004079, allocations: 15.98 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 83.41 MB / 0.5974 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007073/0.1741, allocations: 331 kB / 0.5977 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.1757, allocations: 1.385 MB / 0.599 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.913e-05/0.1757, allocations: 4 kB / 0.599 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.345e-06/0.1758, allocations: 3.938 kB / 0.599 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.784e-05/0.1758, allocations: 3.938 kB / 0.599 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1762, allocations: 103.7 kB / 0.5991 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.1762, allocations: 27.95 kB / 0.5992 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.487e-05/0.1763, allocations: 0 / 0.5992 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.593e-05/0.1763, allocations: 15.98 kB / 0.5992 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.1764, allocations: 23.91 kB / 0.5992 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1764, allocations: 4 kB / 0.5992 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.1768, allocations: 303.5 kB / 0.5995 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.1769, allocations: 19.97 kB / 0.5995 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.1769, allocations: 29.64 kB / 0.5996 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.1771, allocations: 139.8 kB / 0.5997 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1771, allocations: 0 / 0.5997 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1771, allocations: 0 / 0.5997 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.1771, allocations: 0 / 0.5997 GB, free: 5.398 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.0004762/0.1776, allocations: 355.5 kB / 0.6 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1777, allocations: 12.03 kB / 0.6 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.487e-05/0.1777, allocations: 38.55 kB / 0.6001 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004647/0.1782, allocations: 79.92 kB / 0.6001 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.1783, allocations: 171 kB / 0.6003 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1783, allocations: 0 / 0.6003 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1784, allocations: 4 kB / 0.6003 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.1786, allocations: 81.64 kB / 0.6004 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1786, allocations: 0 / 0.6004 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.1787, allocations: 0 / 0.6004 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1787, allocations: 3.938 kB / 0.6004 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.179, allocations: 79.92 kB / 0.6005 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1792, allocations: 169.7 kB / 0.6006 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.1797, allocations: 134.5 kB / 0.6008 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004522/0.1802, allocations: 177.2 kB / 0.6009 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1802, allocations: 38.56 kB / 0.601 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.1802, allocations: 0 / 0.601 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001103/0.1814, allocations: 442.1 kB / 0.6014 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.1814, allocations: 51.41 kB / 0.6014 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.1815, allocations: 93.86 kB / 0.6015 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1815, allocations: 29.7 kB / 0.6016 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.1815, allocations: 80.14 kB / 0.6016 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.1816, allocations: 19.86 kB / 0.6017 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.1816, allocations: 8 kB / 0.6017 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.1817, allocations: 314.8 kB / 0.602 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.1818, allocations: 43.91 kB / 0.602 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.182, allocations: 47.95 kB / 0.602 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.1822, allocations: 47.91 kB / 0.6021 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1822, allocations: 0 / 0.6021 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003502/0.1825, allocations: 121.5 kB / 0.6022 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1825, allocations: 8 kB / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1826, allocations: 256 / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.1826, allocations: 0 / 0.6022 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.1827, allocations: 39.91 kB / 0.6023 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1827, allocations: 0 / 0.6023 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.895e-05/0.1828, allocations: 15.98 kB / 0.6023 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1829, allocations: 0 / 0.6023 GB, free: 2.461 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.623e-05/0.1829, allocations: 121.8 kB / 0.6024 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.448e-05/0.183, allocations: 3.984 kB / 0.6024 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.1834, allocations: 141.2 kB / 0.6025 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1834, allocations: 0 / 0.6025 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1834, allocations: 0 / 0.6025 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1834, allocations: 11.92 kB / 0.6025 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.1836, allocations: 165.6 kB / 0.6027 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1836, allocations: 0 / 0.6027 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.1838, allocations: 27.97 kB / 0.6027 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.706e-06/0.1838, allocations: 4 kB / 0.6027 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.1838, allocations: 0 / 0.6027 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1838, allocations: 0 / 0.6027 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1838, allocations: 4 kB / 0.6027 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005488/0.1843, allocations: 205.3 kB / 0.6029 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.1844, allocations: 89 kB / 0.603 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1844, allocations: 4.031 kB / 0.603 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1846, allocations: 11.98 kB / 0.603 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.724e-05/0.1846, allocations: 8.047 kB / 0.603 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.1846, allocations: 15.92 kB / 0.603 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.739e-05/0.1847, allocations: 75.28 kB / 0.6031 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1847, allocations: 0 / 0.6031 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002266/0.1849, allocations: 28 kB / 0.6031 GB, free: 1.465 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008726/0.1858, allocations: 0.7727 MB / 0.6039 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003544/0.1861, allocations: 99.98 kB / 0.604 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1861, allocations: 4 kB / 0.604 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.1863, allocations: 51.91 kB / 0.604 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.1864, allocations: 4 kB / 0.6041 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2774/0.4639, allocations: 0.5638 MB / 0.6046 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.464, allocations: 0.6816 MB / 0.6053 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001261/0.4642, allocations: 15.69 kB / 0.6053 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.4643, allocations: 17.88 kB / 0.6053 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of SimCode: time 1.142e-06/0.4643, allocations: 0 / 0.6053 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.4764, allocations: 1.829 MB / 0.6071 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/0.4766, allocations: 208.4 kB / 0.6073 GB, free: 39.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.692/2.169, allocations: 0 / 0.6073 GB, free: 39.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/linux/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) Environment - environmentSimulation: