Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",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.00113/0.00113, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001154/0.001154, allocations: 196 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.265/1.265, allocations: 205.1 MB / 222 MB, free: 4.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 292.3 MB / 0.5484 GB, free: 13.7 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 70.27 kB / 0.6709 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1911, allocations: 114.5 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001666/0.1928, allocations: 0.863 MB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1943, allocations: 1.534 MB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.467e-05/0.1943, allocations: 0 / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.187e-05/0.1944, allocations: 3.984 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.164e-05/0.1944, allocations: 4 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.1947, allocations: 111.7 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.697e-05/0.1947, allocations: 43.91 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.484e-05/0.1948, allocations: 8 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.869e-05/0.1948, allocations: 27.91 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.297e-05/0.1949, allocations: 35.83 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1949, allocations: 4 kB / 0.7854 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.1952, allocations: 319.3 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.1953, allocations: 8 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.1953, allocations: 27.86 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.1955, allocations: 215.8 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.1955, allocations: 0 / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.51e-07/0.1956, allocations: 4 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.114e-06/0.1956, allocations: 0 / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004346/0.196, allocations: 399.4 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.432e-05/0.196, allocations: 12.03 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.621e-05/0.1961, allocations: 34.75 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000392/0.1965, allocations: 72.75 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.137e-05/0.1965, allocations: 168.3 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1966, allocations: 8.359 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.1966, allocations: 8.375 kB / 0.7866 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.1969, allocations: 113.7 kB / 0.7867 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1969, allocations: 3.906 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1969, allocations: 4 kB / 0.7867 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.1969, allocations: 4 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.1974, allocations: 99.89 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.1978, allocations: 336.6 kB / 0.7871 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.1984, allocations: 150.4 kB / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.1986, allocations: 64.75 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.537e-06/0.1986, allocations: 3.938 kB / 0.7873 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.1986, allocations: 30.56 kB / 0.7874 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1986, allocations: 0 / 0.7874 GB, free: 9.066 MB / 0.6075 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01738/0.216, allocations: 2.835 MB / 0.7901 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.216, allocations: 59.34 kB / 0.7902 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.2161, allocations: 101.8 kB / 0.7903 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/0.2161, allocations: 25.7 kB / 0.7903 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.216e-05/0.2162, allocations: 92.05 kB / 0.7904 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.2162, allocations: 35.45 kB / 0.7904 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.2164, allocations: 69.58 kB / 0.7905 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.2165, allocations: 318.8 kB / 0.7908 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/0.2171, allocations: 195.8 kB / 0.791 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.2177, allocations: 187.8 kB / 0.7912 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.2189, allocations: 403.7 kB / 0.7916 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2189, allocations: 4 kB / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001378/0.2203, allocations: 473.1 kB / 0.792 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.2203, allocations: 4 kB / 0.792 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.347e-06/0.2203, allocations: 4 kB / 0.792 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.2203, allocations: 0 / 0.792 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/0.2211, allocations: 115.7 kB / 0.7921 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.2211, allocations: 0 / 0.7921 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005527/0.2216, allocations: 47.94 kB / 0.7922 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-05/0.2217, allocations: 27.94 kB / 0.7922 GB, free: 3.965 MB / 0.6075 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.2218, allocations: 110.5 kB / 0.7923 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.2219, allocations: 4 kB / 0.7923 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.773e-05/0.2219, allocations: 11.95 kB / 0.7923 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2219, allocations: 7.938 kB / 0.7923 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.222, allocations: 0 / 0.7923 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.222, allocations: 4 kB / 0.7923 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.2238, allocations: 1.047 MB / 0.7934 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2238, allocations: 0 / 0.7934 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007524/0.2246, allocations: 123.7 kB / 0.7935 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2246, allocations: 0 / 0.7935 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-05/0.2247, allocations: 19.94 kB / 0.7935 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2247, allocations: 0 / 0.7935 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2247, allocations: 0 / 0.7935 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.2267, allocations: 0.7996 MB / 0.7943 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.2268, allocations: 124.9 kB / 0.7944 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.2269, allocations: 0 / 0.7944 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006526/0.2275, allocations: 48 kB / 0.7944 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/0.2276, allocations: 27.92 kB / 0.7945 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.2277, allocations: 28.02 kB / 0.7945 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.2277, allocations: 83.22 kB / 0.7946 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2277, allocations: 4 kB / 0.7946 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003319/0.2281, allocations: 56 kB / 0.7946 GB, free: 1.316 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002316/0.2304, allocations: 1.341 MB / 0.7959 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.2317, allocations: 423.5 kB / 0.7963 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2317, allocations: 0 / 0.7963 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006381/0.2323, allocations: 227.7 kB / 0.7966 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.2326, allocations: 8 kB / 0.7966 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007532/0.2402, allocations: 2.959 MB / 0.7995 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001731/0.2404, allocations: 0.6926 MB / 0.8001 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006374/0.241, allocations: 92.73 kB / 0.8002 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.2413, allocations: 63.3 kB / 0.8003 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2413, allocations: 0 / 0.8003 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.368/1.609, allocations: 4.29 MB / 0.8045 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/1.609, allocations: 224.2 kB / 0.8047 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/3.305, allocations: 4 kB / 0.8047 GB, free: 6.988 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)