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.0009378/0.0009379, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001045/0.001045, allocations: 168.7 kB / 15.95 MB, free: 204 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.293/1.293, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9493/0.9493, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.0003161, allocations: 8 kB / 0.5161 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1568, allocations: 83.42 MB / 0.5976 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007921/0.1576, allocations: 331 kB / 0.5979 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001951/0.1596, allocations: 1.381 MB / 0.5992 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.1596, allocations: 4 kB / 0.5992 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.1597, allocations: 0 / 0.5992 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.988e-05/0.1597, allocations: 0 / 0.5992 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004877/0.1602, allocations: 111.7 kB / 0.5993 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.769e-05/0.1603, allocations: 19.98 kB / 0.5994 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.34e-05/0.1603, allocations: 0 / 0.5994 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.1604, allocations: 23.92 kB / 0.5994 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.284e-05/0.1605, allocations: 23.91 kB / 0.5994 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1605, allocations: 4 kB / 0.5994 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.1609, allocations: 299.4 kB / 0.5997 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.012e-05/0.161, allocations: 15.92 kB / 0.5997 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.539e-05/0.161, allocations: 25.7 kB / 0.5997 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.1612, allocations: 131.8 kB / 0.5999 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1612, allocations: 4 kB / 0.5999 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1612, allocations: 0 / 0.5999 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.1613, allocations: 4 kB / 0.5999 GB, free: 5.293 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.0004583/0.1617, allocations: 355.5 kB / 0.6002 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1618, allocations: 12.02 kB / 0.6002 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.1618, allocations: 38.56 kB / 0.6002 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000444/0.1623, allocations: 71.92 kB / 0.6003 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1624, allocations: 175 kB / 0.6005 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.1624, allocations: 4 kB / 0.6005 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.1625, allocations: 0 / 0.6005 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.1627, allocations: 89.52 kB / 0.6006 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1627, allocations: 4 kB / 0.6006 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1627, allocations: 3.984 kB / 0.6006 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1628, allocations: 0 / 0.6006 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.163, allocations: 75.94 kB / 0.6007 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.1632, allocations: 169.7 kB / 0.6008 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.1638, allocations: 138.5 kB / 0.6009 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.164, allocations: 60.92 kB / 0.601 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004256/0.1644, allocations: 173 kB / 0.6012 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1644, allocations: 30.56 kB / 0.6012 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 3.917e-06/0.1644, allocations: 3.984 kB / 0.6012 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001064/0.1655, allocations: 434.2 kB / 0.6016 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.1656, allocations: 59.39 kB / 0.6017 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.692e-05/0.1656, allocations: 93.86 kB / 0.6018 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.1656, allocations: 29.83 kB / 0.6018 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/0.1657, allocations: 80.14 kB / 0.6019 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.1657, allocations: 15.75 kB / 0.6019 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.396e-06/0.1657, allocations: 4 kB / 0.6019 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.1658, allocations: 318.8 kB / 0.6022 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.166, allocations: 43.97 kB / 0.6022 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1661, allocations: 39.97 kB / 0.6023 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.1663, allocations: 43.97 kB / 0.6023 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1663, allocations: 0 / 0.6023 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003281/0.1666, allocations: 133.5 kB / 0.6024 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1666, allocations: 4 kB / 0.6024 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1666, allocations: 4 kB / 0.6024 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1667, allocations: 3.938 kB / 0.6025 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.1668, allocations: 27.97 kB / 0.6025 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1668, allocations: 3.984 kB / 0.6025 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.946e-05/0.1669, allocations: 19.98 kB / 0.6025 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.1669, allocations: 0 / 0.6025 GB, free: 2.297 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.725e-05/0.167, allocations: 117.8 kB / 0.6026 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.182e-05/0.167, allocations: 0 / 0.6026 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.1675, allocations: 149.1 kB / 0.6028 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1675, allocations: 7.938 kB / 0.6028 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1675, allocations: 320 / 0.6028 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1675, allocations: 0 / 0.6028 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001245/0.1676, allocations: 173.6 kB / 0.6029 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1676, allocations: 4 kB / 0.6029 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.1678, allocations: 31.97 kB / 0.603 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1678, allocations: 0 / 0.603 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.1678, allocations: 4 kB / 0.603 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1678, allocations: 0 / 0.603 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1678, allocations: 0 / 0.603 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.1683, allocations: 204.9 kB / 0.6032 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.1684, allocations: 93.03 kB / 0.6033 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1684, allocations: 0 / 0.6033 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.1685, allocations: 24.03 kB / 0.6033 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.1686, allocations: 0 / 0.6033 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.1686, allocations: 4 kB / 0.6033 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.1686, allocations: 79.28 kB / 0.6034 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1686, allocations: 0 / 0.6034 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002246/0.1689, allocations: 31.98 kB / 0.6034 GB, free: 1.293 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.0008234/0.1697, allocations: 0.7726 MB / 0.6041 GB, free: 500 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003456/0.17, allocations: 95.92 kB / 0.6042 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1701, allocations: 0 / 0.6042 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.1702, allocations: 51.95 kB / 0.6043 GB, free: 352 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001466/0.1704, allocations: 11.38 kB / 0.6043 GB, free: 344 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2891/0.4594, allocations: 0.5517 MB / 0.6048 GB, free: 40.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.4596, allocations: 0.6815 MB / 0.6055 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001259/0.4597, allocations: 17.11 kB / 0.6055 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.4598, allocations: 16.81 kB / 0.6055 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of SimCode: time 6.82e-07/0.4598, allocations: 0 / 0.6055 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01143/0.4712, allocations: 1.848 MB / 0.6073 GB, free: 39.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00013/0.4714, allocations: 208.2 kB / 0.6075 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.129, allocations: 3.5 kB / 0.6075 GB, free: 39.61 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: