Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="IBPSA_latest_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.0006941/0.0006941, allocations: 92.39 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007517/0.0007519, allocations: 176 kB / 16.58 MB, free: 6.066 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.159/1.159, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6037/0.6037, allocations: 113.7 MB / 405.4 MB, free: 4.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002944, allocations: 12 kB / 493.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1233, allocations: 77.12 MB / 0.5569 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0005844/0.1239, allocations: 315.1 kB / 0.5572 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.1253, allocations: 1.391 MB / 0.5586 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.35e-05/0.1253, allocations: 0 / 0.5586 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.658e-06/0.1253, allocations: 0 / 0.5586 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.596e-05/0.1254, allocations: 0 / 0.5586 GB, free: 9.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.1257, allocations: 111.7 kB / 0.5587 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.389e-05/0.1258, allocations: 23.91 kB / 0.5587 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.003e-05/0.1258, allocations: 0 / 0.5587 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.1259, allocations: 19.98 kB / 0.5587 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.186e-05/0.1259, allocations: 19.97 kB / 0.5587 GB, free: 9.738 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1259, allocations: 4 kB / 0.5587 GB, free: 9.734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003717/0.1263, allocations: 307.3 kB / 0.559 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.1263, allocations: 7.984 kB / 0.559 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.999e-05/0.1264, allocations: 29.64 kB / 0.5591 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1265, allocations: 135.8 kB / 0.5592 GB, free: 9.258 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1266, allocations: 4 kB / 0.5592 GB, free: 9.254 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1266, allocations: 0 / 0.5592 GB, free: 9.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.1266, allocations: 0 / 0.5592 GB, free: 9.254 MB / 430.1 MB 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.0004073/0.127, allocations: 351.6 kB / 0.5595 GB, free: 8.863 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.127, allocations: 12.03 kB / 0.5595 GB, free: 8.852 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.186e-05/0.1271, allocations: 38.55 kB / 0.5596 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003756/0.1274, allocations: 79.83 kB / 0.5597 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.577e-05/0.1275, allocations: 167.1 kB / 0.5598 GB, free: 8.523 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1276, allocations: 3.938 kB / 0.5598 GB, free: 8.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1276, allocations: 4 kB / 0.5598 GB, free: 8.516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.1278, allocations: 89.58 kB / 0.5599 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.1278, allocations: 0 / 0.5599 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.1279, allocations: 0 / 0.5599 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1279, allocations: 0 / 0.5599 GB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.1281, allocations: 79.92 kB / 0.56 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.1283, allocations: 161.7 kB / 0.5601 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.1288, allocations: 138.4 kB / 0.5603 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.1289, allocations: 60.97 kB / 0.5603 GB, free: 7.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00039/0.1293, allocations: 173 kB / 0.5605 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.07e-05/0.1294, allocations: 30.56 kB / 0.5605 GB, free: 7.703 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1294, allocations: 0 / 0.5605 GB, free: 7.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009528/0.1303, allocations: 442.1 kB / 0.5609 GB, free: 7.219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.1304, allocations: 59.34 kB / 0.561 GB, free: 7.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.451e-05/0.1304, allocations: 105.8 kB / 0.5611 GB, free: 7.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1305, allocations: 25.7 kB / 0.5611 GB, free: 7.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.453e-05/0.1305, allocations: 84.14 kB / 0.5612 GB, free: 6.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.1305, allocations: 15.75 kB / 0.5612 GB, free: 6.902 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.1305, allocations: 0 / 0.5612 GB, free: 6.902 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.1306, allocations: 314.8 kB / 0.5615 GB, free: 6.586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1308, allocations: 44.09 kB / 0.5616 GB, free: 6.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1309, allocations: 43.97 kB / 0.5616 GB, free: 6.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.131, allocations: 39.97 kB / 0.5616 GB, free: 6.461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.131, allocations: 0 / 0.5616 GB, free: 6.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003054/0.1313, allocations: 129.6 kB / 0.5618 GB, free: 6.328 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1314, allocations: 8 kB / 0.5618 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1314, allocations: 3.953 kB / 0.5618 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.1314, allocations: 0 / 0.5618 GB, free: 6.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1315, allocations: 23.98 kB / 0.5618 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1315, allocations: 0 / 0.5618 GB, free: 6.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.595e-05/0.1316, allocations: 23.97 kB / 0.5618 GB, free: 6.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1316, allocations: 0 / 0.5618 GB, free: 6.27 MB / 430.1 MB 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.325e-05/0.1317, allocations: 117.8 kB / 0.5619 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.1317, allocations: 3.906 kB / 0.5619 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004019/0.1321, allocations: 149.1 kB / 0.5621 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.1322, allocations: 7.953 kB / 0.5621 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1322, allocations: 0 / 0.5621 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1322, allocations: 0 / 0.5621 GB, free: 5.977 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.1323, allocations: 173.6 kB / 0.5623 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1323, allocations: 0 / 0.5623 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.1324, allocations: 27.98 kB / 0.5623 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1325, allocations: 0 / 0.5623 GB, free: 5.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.1325, allocations: 7.984 kB / 0.5623 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.1325, allocations: 3.953 kB / 0.5623 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1325, allocations: 320 / 0.5623 GB, free: 5.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.133, allocations: 205.3 kB / 0.5625 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.133, allocations: 93.03 kB / 0.5626 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1331, allocations: 0 / 0.5626 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.1332, allocations: 23.98 kB / 0.5626 GB, free: 5.367 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.1332, allocations: 11.92 kB / 0.5626 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.1332, allocations: 4 kB / 0.5626 GB, free: 5.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.761e-05/0.1332, allocations: 83.22 kB / 0.5627 GB, free: 5.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1332, allocations: 0 / 0.5627 GB, free: 5.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000208/0.1335, allocations: 31.98 kB / 0.5627 GB, free: 5.238 MB / 430.1 MB 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.0007619/0.1342, allocations: 0.7655 MB / 0.5635 GB, free: 4.441 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002979/0.1345, allocations: 91.98 kB / 0.5636 GB, free: 4.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1345, allocations: 0 / 0.5636 GB, free: 4.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.1347, allocations: 59.89 kB / 0.5636 GB, free: 4.293 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1348, allocations: 7.953 kB / 0.5636 GB, free: 4.285 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1359, allocations: 0.5573 MB / 0.5642 GB, free: 3.684 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001819/0.1361, allocations: 0.6809 MB / 0.5648 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.1362, allocations: 20.06 kB / 0.5649 GB, free: 2.957 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.1363, allocations: 19.42 kB / 0.5649 GB, free: 2.938 MB / 430.1 MB Notification: Performance of SimCode: time 1.593e-06/0.1363, allocations: 0 / 0.5649 GB, free: 2.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01011/0.1464, allocations: 1.811 MB / 0.5666 GB, free: 1.301 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/0.1466, allocations: 204.2 kB / 0.5668 GB, free: 1.059 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/1.608, allocations: 0 / 0.5668 GB, free: 1.059 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: