Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.642/2.642, allocations: 287.3 MB / 302.3 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001652, allocations: 170.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.24/2.24, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001277/0.001277, allocations: 108.9 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004678, allocations: 13.75 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2279, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0007461/0.2287, allocations: 333.8 kB / 0.9786 GB, free: 27.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.2308, allocations: 1.428 MB / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.2308, allocations: 0 / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.333e-05/0.2309, allocations: 0 / 0.98 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.493e-05/0.2309, allocations: 3.938 kB / 0.98 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.2314, allocations: 99.73 kB / 0.9801 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.677e-05/0.2315, allocations: 27.95 kB / 0.9801 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.2316, allocations: 4 kB / 0.9801 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.2317, allocations: 15.92 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.808e-05/0.2318, allocations: 19.97 kB / 0.9802 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.2318, allocations: 4 kB / 0.9802 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005942/0.2324, allocations: 311.4 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.222e-05/0.2324, allocations: 19.97 kB / 0.9805 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.2325, allocations: 25.7 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.2328, allocations: 135.9 kB / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2328, allocations: 0 / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2328, allocations: 0 / 0.9806 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.2328, allocations: 0 / 0.9806 GB, free: 25.84 MB / 0.6198 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.0005741/0.2334, allocations: 359.6 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2335, allocations: 12.02 kB / 0.981 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.2335, allocations: 38.48 kB / 0.981 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007345/0.2342, allocations: 87.78 kB / 0.9811 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.035e-05/0.2344, allocations: 167 kB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.2344, allocations: 0 / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.2344, allocations: 7.938 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.2348, allocations: 85.62 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2348, allocations: 0 / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.73e-05/0.2349, allocations: 0 / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2349, allocations: 4 kB / 0.9814 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.2354, allocations: 75.92 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.2356, allocations: 169.7 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009667/0.2366, allocations: 142.5 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007606/0.2374, allocations: 177.1 kB / 0.9819 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.2374, allocations: 34.56 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 3.105e-06/0.2375, allocations: 0 / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001747/0.2392, allocations: 434.2 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.2393, allocations: 55.41 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.369e-05/0.2393, allocations: 89.86 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.2394, allocations: 29.7 kB / 0.9825 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.2394, allocations: 84.14 kB / 0.9826 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.2394, allocations: 19.72 kB / 0.9826 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.2395, allocations: 8.125 kB / 0.9826 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.996e-05/0.2395, allocations: 314.8 kB / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.2398, allocations: 39.97 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.2401, allocations: 51.89 kB / 0.983 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.2404, allocations: 43.97 kB / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2404, allocations: 0 / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006183/0.241, allocations: 125.5 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2411, allocations: 4 kB / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2411, allocations: 0 / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2411, allocations: 0 / 0.9832 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.2414, allocations: 31.97 kB / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2414, allocations: 0 / 0.9832 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.2416, allocations: 16.23 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.2416, allocations: 7.938 kB / 0.9832 GB, free: 22.89 MB / 0.6198 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 8.137e-05/0.2417, allocations: 121.7 kB / 0.9834 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.029e-05/0.2417, allocations: 7.984 kB / 0.9834 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000723/0.2425, allocations: 141.2 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.2425, allocations: 4 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2425, allocations: 0 / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2425, allocations: 3.984 kB / 0.9835 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.2427, allocations: 165.6 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.2427, allocations: 3.938 kB / 0.9837 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.243, allocations: 27.97 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.243, allocations: 0 / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.243, allocations: 8 kB / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.243, allocations: 0 / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.243, allocations: 0 / 0.9837 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009596/0.244, allocations: 208.9 kB / 0.9839 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.338e-05/0.2441, allocations: 93.03 kB / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.2441, allocations: 0 / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.2444, allocations: 15.98 kB / 0.984 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.2444, allocations: 336 / 0.984 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.2444, allocations: 12.05 kB / 0.984 GB, free: 22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.892e-05/0.2445, allocations: 75.28 kB / 0.9841 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2445, allocations: 0 / 0.9841 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003106/0.2448, allocations: 36 kB / 0.9841 GB, free: 21.89 MB / 0.6198 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.001314/0.2461, allocations: 0.7647 MB / 0.9849 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006234/0.2468, allocations: 92.17 kB / 0.985 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2468, allocations: 4 kB / 0.985 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.2471, allocations: 52.03 kB / 0.985 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001467/0.2473, allocations: 4 kB / 0.985 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.2494, allocations: 0.573 MB / 0.9856 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.2496, allocations: 0.6848 MB / 0.9862 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001929/0.2498, allocations: 20.12 kB / 0.9863 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.2499, allocations: 15.42 kB / 0.9863 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of SimCode: time 1.052e-06/0.2499, allocations: 0 / 0.9863 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.2713, allocations: 1.809 MB / 0.988 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.2716, allocations: 199.4 kB / 0.9882 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/2.774, allocations: 0 / 0.9882 GB, free: 17.7 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)