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.721/2.721, allocations: 287.5 MB / 302.4 MB, free: 8.273 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.001434/0.001434, allocations: 178 kB / 371 MB, free: 10.88 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.095/2.095, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0008678/0.0008674, allocations: 93.8 kB / 0.743 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005144/0.0005147, allocations: 14.12 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2175, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.000763/0.2183, allocations: 335.5 kB / 0.9788 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002035/0.2204, allocations: 1.418 MB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.865e-05/0.2204, allocations: 0 / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.657e-05/0.2205, allocations: 3.938 kB / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.705e-05/0.2205, allocations: 0 / 0.9802 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.221, allocations: 115.7 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.412e-05/0.2211, allocations: 23.97 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.436e-05/0.2212, allocations: 4 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/0.2212, allocations: 15.97 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.158e-05/0.2213, allocations: 23.91 kB / 0.9803 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.2214, allocations: 8 kB / 0.9804 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006768/0.2221, allocations: 307.4 kB / 0.9806 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.958e-05/0.2221, allocations: 7.984 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.599e-05/0.2221, allocations: 29.7 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.2224, allocations: 123.9 kB / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2225, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2225, allocations: 0 / 0.9808 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.952e-06/0.2225, allocations: 0 / 0.9808 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.0006229/0.2231, allocations: 361.7 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.2232, allocations: 20.02 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.2232, allocations: 34.5 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007311/0.224, allocations: 91.7 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.044e-05/0.2241, allocations: 163.1 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.2241, allocations: 0 / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.2242, allocations: 11.98 kB / 0.9815 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.2246, allocations: 81.62 kB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2246, allocations: 0 / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.2246, allocations: 0 / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2246, allocations: 0 / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005013/0.2251, allocations: 83.88 kB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.2254, allocations: 165.6 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.2264, allocations: 150.5 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.2267, allocations: 44.92 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007567/0.2275, allocations: 177 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.2275, allocations: 30.56 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 3.207e-06/0.2275, allocations: 4 kB / 0.9822 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.001778/0.2293, allocations: 438.2 kB / 0.9826 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.2294, allocations: 51.41 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.101e-05/0.2295, allocations: 93.86 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.2295, allocations: 29.7 kB / 0.9827 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.88e-05/0.2295, allocations: 80.14 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/0.2296, allocations: 19.73 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.2296, allocations: 128 / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.16e-05/0.2297, allocations: 322.8 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002647/0.2299, allocations: 39.91 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.2302, allocations: 52.02 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.2305, allocations: 39.98 kB / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2305, allocations: 0 / 0.9833 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006219/0.2311, allocations: 129.5 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.2312, allocations: 6.031 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2312, allocations: 0 / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.2312, allocations: 4 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.2315, allocations: 27.97 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2315, allocations: 0 / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001742/0.2317, allocations: 15.98 kB / 0.9834 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.2317, allocations: 7.938 kB / 0.9835 GB, free: 22.84 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.388e-05/0.2318, allocations: 117.7 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.2318, allocations: 8 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007284/0.2326, allocations: 141.2 kB / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2326, allocations: 4 kB / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2326, allocations: 0 / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2326, allocations: 0 / 0.9837 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.2328, allocations: 169.6 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2329, allocations: 4 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002734/0.2331, allocations: 23.97 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.2332, allocations: 0 / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.2332, allocations: 7.938 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2332, allocations: 7.938 kB / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.2332, allocations: 0 / 0.9839 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.2342, allocations: 209.5 kB / 0.9841 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.218e-05/0.2343, allocations: 89.09 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.2343, allocations: 4 kB / 0.9842 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.2345, allocations: 19.97 kB / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.2346, allocations: 0 / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.2346, allocations: 12.05 kB / 0.9842 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.893e-05/0.2347, allocations: 79.28 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.4e-07/0.2347, allocations: 4 kB / 0.9843 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000299/0.235, allocations: 28 kB / 0.9843 GB, free: 21.83 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.001305/0.2363, allocations: 0.7686 MB / 0.9851 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006303/0.237, allocations: 96 kB / 0.9852 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.237, allocations: 4 kB / 0.9852 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002817/0.2373, allocations: 51.89 kB / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.2376, allocations: 7.938 kB / 0.9852 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.2396, allocations: 0.5727 MB / 0.9858 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001436/0.2398, allocations: 0.677 MB / 0.9865 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001893/0.24, allocations: 16.06 kB / 0.9865 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.024e-05/0.2401, allocations: 15.44 kB / 0.9865 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of SimCode: time 1.103e-06/0.2401, allocations: 0 / 0.9865 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.2609, allocations: 1.824 MB / 0.9883 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001918/0.2611, allocations: 209 kB / 0.9885 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/2.81, allocations: 2.391 kB / 0.9885 GB, free: 17.62 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)